How to read the forces acting on the surface to be analyzed into the program
1 Attachment(s)
Hello,
I'm using Openfoam v1806+. I created the motion for the fish undulation, and completed the motion itself, but I wanted to load the forces acting on the surface of the model into the motion program as well. ( I used this site as a reference for motion creation. http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/ "make a fish swim") There is a sentence in the program to get the coordinates of the surface to be analyzed target as shown below.(This is an excerpt from line42 of the attached file) const pointPatch& p, const DimensionedFields<vector,pointMesh>& iF fixedValuePointPathFields<vector>(p,iF), p0_(p.localPoints()) I interpret that "p" and "iF" get the mesh information, and "localPoints()" gets the coordinates of each surface point. I would like to know a function like this "localPoints()" that would get the preessure acting on the surface of the analysis target. I would like to know if anyone knows anything about this. Thank you. |
Hi Hiroaki,
Have you found a solution? In that case, can u post it? Else, currently, what I did is: 1. I filter the forces output file to something simpler 2. read in that file to get the forces req It works but it's slower. |
All times are GMT -4. The time now is 07:04. |