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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 8, 2020, 04:51
Question Solving for Buoyant forces
  #1
New Member
 
Join Date: Sep 2020
Posts: 9
Rep Power: 3
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, 05:08
Default
  #2
Member
 
Join Date: Oct 2017
Posts: 93
Rep Power: 6
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, 05:31
Default
  #3
New Member
 
Join Date: Sep 2020
Posts: 9
Rep Power: 3
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, 06:47
Default
  #4
Member
 
Join Date: Oct 2017
Posts: 93
Rep Power: 6
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 683 August 10, 2022 00:40
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


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