Wykład 11 OpenFoamCaseSetup


OpenFoam
Part II Geometry, Mesh and Case setup
Content
" Salome Geometry
" Salome Mesh
" Python scripts
" Gmesh Geometry
" Gmesh Mesh
" NETGENs
" Case setup in OF
Salome Geometry
" Simple geometry:
" Set units
" Create geometry
" Create Groups from geometry elements  names will be seen in the
OpenFoam settings
Example
" Simple geometry
" Cavity
" Channel
" Sphere
" Complex geometries:
" Cut geometries
" Translate
Salome Mesh
" Meshing:
" Create mesh
" Compute mesh
" Create Groups from Geometry
" Export mesh as UNV
Example
" Simple geometry
" Hexa mesh
" Tetra mesh
" Complex geometry
" Size of the mesh
Python
" When finished creating Geometry and Mesh create Python script
" File  Dump Study
" Python script will be created in the working directory
" Modify script
" Import back to the Salome
" File  Load Script
" Run Salome in the background:
" Open terminal window
" Type:  salome  t script.pt
" Files with geometry and mesh will be created in the working directory
Import Mesh to OpenFoam
" Place file .unv with geometry and mesh in the case folder
" Open terminal window
" Type:  ideasUnvToFoam fileName.unv
" Check folder constant  polyMesh  boundary
" Check folder  0 if the same names of boundary conditions are
defined
Tutrials SALOME
" HexaMesh
" https://www.youtube.com/watch?v=MrkkTC06c84
" Cavity Flow
" https://www.youtube.com/watch?v=8XugdrYyBSg
Gmesh
" https://www.youtube.com/watch?v=OymPRfSjtYY
NETGEN
" https://www.youtube.com/watch?v=xYUtUjMai_U
http://cfd.direct/openfoam/user-guide/standard-utilities/#x14-900003.6
Ather possibilities
ansysToFoam Converts an ANSYS input mesh file, exported from I DEAS, to OpenFOAM format
ccm26ToFoam Converts a CCM mesh to OpenFOAM format
cfx4ToFoam Converts a CFX 4 mesh to OpenFOAM format
datToFoam Reads in a datToFoam (.dat) mesh file and outputs a points file. Used in conjunction with blockMesh
fluent3DMeshToFoam Converts a Fluent mesh to OpenFOAM format
fluentMeshToFoam Converts a Fluent mesh to OpenFOAM format including multiple region and region boundary handling
foamMeshToFluent Writes out the OpenFOAM mesh in Fluent mesh format
foamToStarMesh Reads an OpenFOAM mesh and writes a PROSTAR (v4) bnd/cel/vrt format
foamToSurface Reads an OpenFOAM mesh and writes the boundaries in a surface format
gambitToFoam Converts a GAMBIT mesh to OpenFOAM format
gmshToFoam Reads .msh file as written by Gmsh
ideasUnvToFoam I Deas unv format mesh conversion
kivaToFoam Converts a KIVA grid to OpenFOAM format
mshToFoam Converts .msh file generated by the Adventure system
netgenNeutralToFoam Converts neutral file format as written by Netgen v4.4
plot3dToFoam Plot3d mesh (ascii/formatted format) converter
sammToFoam Converts a STAR CD (v3) SAMM mesh to OpenFOAM format
star3ToFoam Converts a STAR CD (v3) PROSTAR mesh into OpenFOAM format
star4ToFoam Converts a STAR CD (v4) PROSTAR mesh into OpenFOAM format
tetgenToFoam Converts .ele and .node and .face files, written by tetgen
vtkUnstructuredToFoam Converts ascii .vtk (legacy format) file generated by vtk/paraview
writeMeshObj For mesh debugging: writes mesh as three separate OBJ files which can be viewed with e.g. javaview
Case Setup
" Create case FOLDER
" Create subfolder  0 ,  constant ,  system (copy tutorials and make
new simulations based on predefined case)
" Place mesh in the case folder
" Run application to  translate geoemtry to OF polyMesh folder
" Check/Change boundary condition names in polyMech  boundary
file and in  0 folder. Names should be the same in  boundary and in
 0 folder.
Case manipulations
" All scripts are in  system folder
" setFields
" refineMesh
" decomposePar
Case constants
" To change specific variables related to case setup go to  constant
folder.
" Each case will be different. Everything depends on the main goal of
the simulations
Examples
" youtube:&
" google


Wyszukiwarka

Podobne podstrony:
Wykład 9 OpenFoam
Wykład OpenFoamGeometryAndMeash
Wykład OpenFoamGeometryAndMeash
Sieci komputerowe wyklady dr Furtak
Wykład 05 Opadanie i fluidyzacja
WYKŁAD 1 Wprowadzenie do biotechnologii farmaceutycznej
mo3 wykladyJJ
ZARZĄDZANIE WARTOŚCIĄ PRZEDSIĘBIORSTWA Z DNIA 26 MARZEC 2011 WYKŁAD NR 3
Wyklad 2 PNOP 08 9 zaoczne
Wyklad studport 8
Kryptografia wyklad
Budownictwo Ogolne II zaoczne wyklad 13 ppoz
wyklad09

więcej podobnych podstron