|
[Sponsors] |
What is the formula for the frictional drag force in the "force" function? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 1, 2024, 00:19 |
What is the formula for the frictional drag force in the "force" function?
|
#1 |
New Member
Join Date: Nov 2022
Posts: 11
Rep Power: 4 |
We use OpenFOAM v1806.
The "force" function is used to calculate the force. When performing the "force" function, what is the equation used to determine the frictional drag force? |
|
August 2, 2024, 13:43 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 742
Rep Power: 14 |
Check member function calcForcesMoments() in forces.C (https://www.openfoam.com/documentati...8C_source.html) ... it's all in there.
|
|
August 2, 2024, 21:33 |
|
#3 |
New Member
Join Date: Nov 2022
Posts: 11
Rep Power: 4 |
Thank you.
I have done the analysis with a laminar flow model. Does the equation for viscous drag then depend on line 253 of force.c? |
|
August 3, 2024, 09:53 |
|
#4 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 742
Rep Power: 14 |
Very close - it's the section before that is used when a laminar turbulence model is selected:
Code:
else if (foundObject<transportModel>("transportProperties")) { const auto& laminarT = lookupObject<transportModel>("transportProperties"); const auto& U = lookupObject<volVectorField>(UName_); return -rho()*laminarT.nu()*dev(twoSymm(fvc::grad(U))); Code:
const vectorField fV(Sfb[patchi] & devRhoReffb[patchi]); |
|
August 4, 2024, 06:46 |
|
#5 |
New Member
Join Date: Nov 2022
Posts: 11
Rep Power: 4 |
Thank you very much.
I now have a better understanding of "force.c". |
|
Tags |
force, openfoam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error in enabling the python wrapper | Jinn | SU2 Installation | 2 | April 23, 2022 14:52 |
[OpenFOAM] Drag Force from Forces Function different from Paraview | edomalley1 | ParaView | 4 | December 14, 2018 00:44 |
udf for compute pressure drag force | fatemi | Fluent UDF and Scheme Programming | 1 | January 26, 2018 14:27 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |