CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Solving for Buoyant forces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 8, 2020, 05:51
Question Solving for Buoyant forces
  #1
New Member
 
Join Date: Sep 2020
Posts: 9
Rep Power: 6
Spacehorse is on a distinguished road
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
Spacehorse is offline   Reply With Quote

Old   September 8, 2020, 06:08
Default
  #2
Senior Member
 
Join Date: Oct 2017
Posts: 133
Rep Power: 9
Krapf is on a distinguished road
Hi Spacehorse

You need to add it to fvOptions.

Kind regards
Krapf
Krapf is offline   Reply With Quote

Old   September 8, 2020, 06:31
Default
  #3
New Member
 
Join Date: Sep 2020
Posts: 9
Rep Power: 6
Spacehorse is on a distinguished road
Quote:
Originally Posted by Krapf View Post
Hi Spacehorse

You need to add it to fvOptions.

Kind regards
Krapf

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
Spacehorse is offline   Reply With Quote

Old   September 8, 2020, 07:47
Default
  #4
Senior Member
 
Join Date: Oct 2017
Posts: 133
Rep Power: 9
Krapf is on a distinguished road
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.
Krapf is offline   Reply With Quote

Reply

Tags
buoyancy, buoyant


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
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 10:10
Segmentation fault when using reactingFOAM for Fluids Tommy Floessner OpenFOAM Running, Solving & CFD 4 April 22, 2018 13:30
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04:34
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 12:16


All times are GMT -4. The time now is 02:41.