I have a model as given in the first attachment (model.png). As I want to sample the pressures and velocities in the middle of the model, I am defining a plane perpendicular to the boundary with the following code in the sampleDict file:
The cuttingPlane function will then remove the parts of the plane that are outside the mesh, as shown in the third attachment (defaultCuttingPlane.png).
However, this is not what I want! I only want to sample the values in the middle of my model as shown in the fourth attachment (defaultCuttingPlane.png).
Is there a way to do that? I think there are two possibilities:
Thanks in advance!
I would define a faceSet and sample over that one.
Is there a possibility to create a faceSet from the intersection between a plane (can be in stl format and added via sampledTriSurfaceMesh) and the cells of a mesh?
Or is there another good method to specify this set?
The mesh is created in TGrid and converted using fluent3DMeshToFoam.
|All times are GMT -4. The time now is 10:34.|