a custom surface for sampling.
So, I am running this openfoam simulation and I need areaAverage velocity and pressure on a surface,currently the entire plane is being read, I wan't to specify my own in sampleSurfaceDict,
new_plane { type faceSource; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; outputControl timeStep; log true; valueOutput true; source sampledSurface; //setFormat raw; surfaceFormat vtk; sampledSurfaceDict { type plane; // always triangulated basePoint (0 -1.5 0); normalVector (0 -1 0); } operation areaAverage; fields ( p U ); } is there a type circle? or a way to specify radius? in sampledSurfaceDict sampledSurfaceDict { type plane; // always triangulated basePoint (0 -1.5 0); normalVector (0 -1 0); } I don't have any access to software which can produce stl for 2D/3D surfaces. triSurfaceMesh needs that. |
All times are GMT -4. The time now is 12:11. |