stream tracers not loading and tool tips not showing

You will probably need to load both defaultFaces and internalMesh and separate them later in the following steps:

  1. In the Mesh Resions of pv.foam, check internalMesh (which contains the velocity vectors) and path/defaultFaces and load the data.
  2. Use the Stream Tracer filter to find the streamlines.
  3. For the geometry, use the Extract Block filter or MultiBlock Inspector to display only the defaultFaces.

i will try this out. How do you increase the thickness of the stream tracers? All the ones i have seen in the tutorials are very thin and wispy.

Are you using point cloud as well?

im testing this out in a few moments.

thanks

WOOT. I FINALLY got something

I noticed that under the properties for the point cloud stream tracer that i only have U available as the vector in the drop down, nothing else is listed. How do i view the other vectors and increase the tracer size to be a little thicker?

thanks

Does your data include vector quantities other than U (flow velocity)?

The thickness of the streamlines can be adjusted in Line Width in the advanced settings (turn on the gear icon).

1 Like

this is what paraview shows i have. I should have more than just “U” because when i change the type from the drop down, the rocket fin changes with respect to whatever i pick

but the stream tracer filter only shows U in its list…

When i ran the CFD, shouldnt that do more than just velocity?

this video is the video i followed that told me to uncheck internal mesh. they got it to work, dont know why mine wont

“Does your data include vector quantities other than U (flow velocity)?” how do i verify this and how do i make sure others are added? I thought they were added since the cfdof workbench showed the plot of all the residuals, not just U

The stream tracer is applied to vector variables. Therefore, if ‘U’ is the only option available from the drop-down list, it implies that ‘U’ is the vector variable, while the others are likely scalar variables. You can also verify whether a variable is vectorial by looking into the Information tab, which presents the maximum and minimum values of each component for the variables.

1 Like

ok, maybe i need to be asking a different question.

Are there supposed to be other vector variables available?

If U is the only available one, can i still use the calculator option in paraview to calculate forces such as Cd, Cp, etc?

Thanks for the help

The calculation of Cp, Cd, etc. must be performed according to the defined procedures, some of which can be found on YouTube you have previously mentioned and other websites.

However, to consider the impact of viscous forces in drag force calculations, wall shear stresses are necessary. It appears that calculating the velocity gradient tensor near the wall surface, which is essential for this purpose, in ParaView may not yield sufficiently accurate results. Therefore, I recommend performing Cp, Cd, etc. calculations within OpenFOAM for greater accuracy.

I am not sure exactly how to do that. I don’t use the command line for open foam. I use the workbench in free CAD.

So I’m not entirely sure how to accomplish that. But what’s going on with the current data that I have that makes it difficult to calculate the coefficient of pressure and drag?

Thank you. :slightly_smiling_face:

I believe the pressure coefficient (Cp) can be calculated by applying a Calculator filter to defaultFaces , as outlined in the following documentation: OpenFOAM: User Guide: pressure

For the drag coefficient (Cd) of defaultFaces, the proposed procedure is:

  1. Calculate the Wall Shear Stress (WSS) (search within this discourse for the method).
  2. Compute the drag force using the method described in the aforementioned YouTube video, where the product of the normal vector and static pressure is calculated for each element. It remains uncertain whether the element area should also be included in the calculation.
  3. Manually calculate the Cd based on its definition.
1 Like

ok, cool. ill look into it. I think one of my issues is in the CFD OpenFOAM workbench of freecad, i picked high mach number for the physics model and DES as the turbulance type. I think this triggered the workbench to use the HISA solver rather than simplefoam.

I am only guessing because in the D:/CFDDUMP/case/0 pressure file, the dimensions are:

[0,-2,-2,0,0,0]

meaning time would have to be an exponent in the denominator since we cant travel back in time.

using the filter in paraview called integrate varibles i think is causing issues since integrating my not be the right step.

Do you know how to switch between simplefoam and hisa in the CFDOF workbench? or is it automatically trigged based on settings i pick?

thanks

I apologize, but I am not familiar with CFDOF. :sweat_smile:

1 Like

It’s okay :slightly_smiling_face: it’s a workbench and free CAD that is a UI for open foam. But I’m guessing anytime I use a higher Mach number and compressible flow that it triggers open foam to use the high speed aerodynamic solver rather than simple foam. So I have to figure out how to make open foam compute all my Force coefficients for me rather than having paraview because integration won’t work with the high-speed aerodynamic solver cuz of the way it handles the pressures. It uses real pressure instead of a normalized pressure