|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Sep 2020
Posts: 9
Rep Power: 4 ![]() |
Hi All,
I'm running a floating objects simulation using interfoam as the solver. I would like to find out the buoyant forces acting on the object. on this page: https://www.openfoam.com/documentati...ncy-force.html it says i can do that by using this: buoyancy1 { type buoyancyForce; selectionMode all; fields (U); } but it doesn't say which file i need to add this to. If anyone can offer some help that would be great! Kind regards |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Oct 2017
Posts: 108
Rep Power: 7 ![]() |
Hi Spacehorse
You need to add it to fvOptions. Kind regards Krapf |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Sep 2020
Posts: 9
Rep Power: 4 ![]() |
Hi Krapf, thanks for the fast reply. I don't have an fvOptions in the system folder, there is an fvSchemes and fvSolution. does this mean i should find an fvOptions folder from another case and copy that in? Kind regards, Sph |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Join Date: Oct 2017
Posts: 108
Rep Power: 7 ![]() |
Yes, you can copy a fvOptions file from another case and modify it. IIRC you can place it in the system or the constant folder.
|
|
![]() |
![]() |
![]() |
Tags |
buoyancy, buoyant |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" | bigphil | OpenFOAM CC Toolkits for Fluid-Structure Interaction | 686 | December 22, 2022 09:10 |
Segmentation fault when using reactingFOAM for Fluids | Tommy Floessner | OpenFOAM Running, Solving & CFD | 4 | April 22, 2018 12:30 |
pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 08:35 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 03:34 |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 11:16 |