|
[Sponsors] |
April 26, 2022, 05:40 |
Applying a spatially varying body force term
|
#1 |
New Member
Join Date: Apr 2022
Posts: 3
Rep Power: 4 |
Hello all,
I have been working on the periodic hill problem using Incompressible RANS. I know there is a direct way to implement a body force using BODY_FORCE = (bx,by,bz) in the config file. However, for my purposes I want to learn how to implement such a body force that is spatially varying throughout the flow field i.e. b(x,y,z) as a vector field, in my su2 config file for the simulation. Thank you |
|
April 26, 2022, 11:32 |
|
#2 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14 |
Hi,
Have a look at this discussion: Adding a configuration option to read a file We do not have a built-in way to do that, you'd need to write some code. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding a body force term in the SIMPLE algorithm | karman | OpenFOAM Programming & Development | 2 | June 20, 2022 09:11 |
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" | ds4719 | Main CFD Forum | 14 | February 18, 2022 19:05 |
Add Work due to body force in the energy equation for a lagrangian solver | mneben | OpenFOAM Programming & Development | 6 | January 19, 2016 06:30 |
How to add a source term (body force) to icoFoam? | chris Liu | OpenFOAM Programming & Development | 4 | October 27, 2014 16:38 |
How to add time varying body force | hsieh | OpenFOAM Running, Solving & CFD | 2 | July 26, 2010 12:43 |