|
[Sponsors] |
Use homogeneous results as the initial guess for an inhomogeneous simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 3, 2014, 06:05 |
Use homogeneous results as the initial guess for an inhomogeneous simulation
|
#1 |
Senior Member
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 15 |
Question
Hi, in an Eulerian-Eulerian multiphase simulation, will there be any issues using homogeneous results as the initial guess for an inhomogeneous simulation? Background I am performing a transient free surface simulation, where I have two continuous phases separated by a free surface. In the first instance there is nothing complex going on, i.e. no splashing, entrainment etc. So I'm modelling this as completely homogeneous (homogeneous momentum and turbulence). I want this to be my initial guess for the next part of the simulation. In the next part of the simulation there will be gas entertainment, significant splashing etc. I will need to model the relative slip between the phases (water and vapour) to ensure adequate seperation, so will change to inhomogeneous for this portion of the simulation (I will provide an interfacial drag coefficient as required). To reduce simulation time my idea is to run homogeneous, up to the point where I need to switch to inhomogeneous. FYI I am using the mixture model to treat interfacial area density since the free surface model is too primitive in the inhomogeneous case (simply treats the IAD as the gradient of the volume fraction normal to the interface). |
|
December 3, 2014, 17:53 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
In concept using a homogeneous model as an initial condition for a inhomogeneous model sounds fine. Hopefully it is smart enough to map the variable fields to all phases - but I am not sure of this so you better check it.
|
|
December 4, 2014, 06:29 |
|
#3 |
Senior Member
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 15 |
How would one test to see if this is true before I commit to timely simulations?
I'm thinking of doing the free surface bump tutorial in homogeneous, and then using it as the initial guess for the inhomogeneous run. But since the flow phenemena is the same in both homogeneous and inhomogeneous I'm not sure what to look for to see if there is a difference. |
|
December 4, 2014, 09:10 |
|
#4 |
Senior Member
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33 |
Setup the inhomogeneous case with backup results at the start of the run (see output control or expert parameters sections). You will get a backup file written before it solves the first iteration.
You can post-process such file in CFD-Post and see if the initial condition is what you expected given the initial values file. Good luck. |
|
December 4, 2014, 09:57 |
|
#5 |
Senior Member
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 15 |
Good idea! Thanks.
I'll reply with what I have found so people searching the forum can have an answer to this question. Watch this space. |
|
December 26, 2014, 14:44 |
|
#6 |
Senior Member
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 15 |
Hi,
Just an update: you can use homogeneous results as the initial guess for an inhomogeneous run. Just ensure the material names are the same in both homogeneous and inhomogeneous so it can assign the variable fields to all phases correctly. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
a problem with convergence in buoyantSimpleFoam | skuznet | OpenFOAM Running, Solving & CFD | 6 | November 15, 2017 13:12 |
log file | imani | OpenFOAM Running, Solving & CFD | 0 | July 24, 2014 03:04 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Why RNGkepsilon model gives floating error | shipman | OpenFOAM Running, Solving & CFD | 3 | September 7, 2013 09:00 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |