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

[swak4Foam] InterFoam + FunkySetFields - Initial phase function of the given volume

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2015, 18:03
Default InterFoam + FunkySetFields - Initial phase function of the given volume
  #1
New Member
 
Pedro
Join Date: Dec 2014
Posts: 9
Rep Power: 11
pedrojrebelo is on a distinguished road
Hi,

I have a multiphase simulation with interFoam. As an initial condition for the phase what I would like to do is to set a volume of liquid. For instance in the case of a cylinder of 1L (easy one because we can compute the volume analytically) I would like to set the initial field with 0.5L. I would like to make this work for more complex geometries...

I guess this should be possible with funkySetFields, by computing the total volume and start filling each cell until it reaches the desired volume. Does someone has any further suggestion?

Regards
pedrojrebelo is offline   Reply With Quote

Reply


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
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 15 May 1, 2016 16:12
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 02:20
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 08:35
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16


All times are GMT -4. The time now is 17:09.