-
Notifications
You must be signed in to change notification settings - Fork 53
Debugging
Natalie Wagenbrenner edited this page Apr 17, 2015
·
8 revisions
Set the environment variable WRITE_FOAM_FILES to end the run at various locations in a NinjaFOAM simulation.
WRITE_FOAM_FILES = 0 generates the STL and writes the basic OpenFOAM case directory
WRITE_FOAM_FILES = 1 writes the mesh dict files (but does not generate the mesh)
WRITE_FOAM_FILES = 2 generates the mesh
surfaceTransformPoints -translate (0 0 10) constant/triSurface/butte.stl constant/triSurface/butte_out.stl
surfaceCheck constant/triSurface/butte.stl
blockMesh
decomposePar -force
mpiexec -np 4 moveDynamicMesh -parallel
reconstructPar -latestTime
topoSet -dict system/topoSetDict
refineMesh -dict system/refineMeshDict
refineWalllayer -minZ 0.25
renumberMesh
checkMesh
applyInit
decomposePar -force
mpiexec -np 4 simpleFoam -parallel
reconstructPar
sample -latestTime
To convert OpenFOAM output to WindNinja output formats (.kmz and .asc):
../../convert_output postProcessing/surfaces/951/U_triSurfaceSampling.raw ninja_output ../butte.tif
Set BUILD_CONVERT_OUTPUT = ON in CMake to build the output converter.