|
[Sponsors] |
How to read the forces acting on the surface to be analyzed into the program |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 5, 2021, 11:29 |
How to read the forces acting on the surface to be analyzed into the program
|
#1 |
New Member
Hiroaki Sumikawa
Join Date: Jul 2018
Posts: 9
Rep Power: 7 |
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. |
|
March 4, 2022, 01:50 |
|
#2 |
Senior Member
TWB
Join Date: Mar 2009
Posts: 401
Rep Power: 19 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" | ds4719 | Main CFD Forum | 14 | February 18, 2022 18:05 |
Residuals and forces spiraling out of control before failing | edomalley1 | OpenFOAM Running, Solving & CFD | 3 | September 7, 2018 10:42 |
Help~~~~How to read a program as a fresh man? | SingleMinded | Main CFD Forum | 4 | July 7, 2011 08:18 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 14:37 |
How to read surface tension? | _svl | FLUENT | 4 | January 26, 2006 09:55 |