CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Need verification for interSettlingFoam for openFoam 2.3.0

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 26, 2014, 04:00
Default Need verification for interSettlingFoam for openFoam 2.3.0
  #1
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 682
Rep Power: 15
vasava will become famous soon enough
Recently I came across the interSettlingFoam solver by Pedram Ramin (Chalmers University). It was made for version 2.2.0. After few hick-ups I managed to compile it for openFoam 2.3.0 (except unused variable ‘maxDeltaT’ warning).

Could some one please check and verify if the modifications are correct.
Following are the modifications.
  1. In pEqn.H file (line-12) replace fvc::ddtPhiCorr(rAU, rho, U, phi) with fvc::interpolate(rho*rAU)*fvc::ddtCorr(U, phi).
  2. In interSettlingFoam.C replace #include "twoPhaseMixture.H" with #include "incompress ibleTwoPhaseMixture.H". Add #include "fixedFluxPressureFvPatchScalarField.H".
  3. In createFields.H (line-33) replace twoPhaseMixture twoPhaseProperties(U, phi); with incompressibleTwoPhaseMixture twoPhaseProperties(U, phi);.


Here is link to the solver.
vasava is offline   Reply With Quote

Old   July 24, 2015, 04:33
Default
  #2
New Member
 
Xavier Pivan
Join Date: May 2015
Posts: 10
Rep Power: 3
Navip is on a distinguished road
Hi,

I downloaded your solver and I've been successful to compile it with the maxdeltaT error that you mention.

I tried to make it run with one of my initial condition I used with settling but it looks like the AlphaS dramatically increase instead of settling out.

Have you been sucessful to get good results with this solver ?

Many thanks,

Xavier
Navip is offline   Reply With Quote

Old   July 29, 2015, 03:20
Default
  #3
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 682
Rep Power: 15
vasava will become famous soon enough
Hello Xavier, thanks for your interest in my post. It has been a while since I last had a look at this solver. I tried the dahl tutorial from settlingFoam solver. It seemed to run fine (Again it has been a while). You can run and have a look. Here is the link.
vasava is offline   Reply With Quote

Old   July 29, 2015, 03:51
Default
  #4
New Member
 
Xavier Pivan
Join Date: May 2015
Posts: 10
Rep Power: 3
Navip is on a distinguished road
Hi Vasava. I also use settlingFoam to produce a gravity current from Bonnecaze et al 1993 - I use this solver instead of interFoam because I need to include the settling.

But my current doesn't extend further enough so I thought it could be a good idea to mix the interFOAM and settling FOAM solver.

I think the problem might be due to the missing advection term in the Drift equation (i.e AlphaEqn.H). I reckon I have to implement or include the advectiveFvPatchFields.H somewhere - most likely in AlphaEqn.H. By luck, did you check something like this ?
Navip is offline   Reply With Quote

Reply

Tags
intersettlingfoam, openfoam2.3, solvers

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Floating Objects with 6DoF in OF 2.3.0 tyoung OpenFOAM Running, Solving & CFD 7 February 21, 2015 10:07
Liquid Evaporation Model Error in OF 2.3.0 brbbhatti OpenFOAM 11 June 16, 2014 09:40
Holes in cylinder AMI snappy 2.3.0 pbachant OpenFOAM Native Meshers: snappyHexMesh and Others 3 March 14, 2014 22:37
Grid Verification julie corish Main CFD Forum 3 January 30, 2003 10:47
Verification data Achilleas Tsompanos Main CFD Forum 1 June 19, 2000 12:49


All times are GMT -4. The time now is 10:31.