|
[Sponsors] | |||||
rhoSimpleFoam initialization with simpleFoal results |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
ishan
Join Date: Oct 2017
Posts: 80
Rep Power: 10 ![]() |
Hello.
I am simulating subsonic compressible flow through a duct. I plan to initialize the rhoSimpleFoam solution with that of simpleFoam. I have a couple of questions for this approach which have confused me and slowed down my progress for quite some time:
Some information on this would be helpful. |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
|
One possible way out is (?) to use rhoSimpleFoam at low Mach number instead using simpleFoam. That is, to use the ramping of parameters of the problem (e.g. mass inflow rate) to generate the initial guess. The foamDictionary scripting tools facilitates the process. Queries on boundary conditions can possibly be resolved by looking into tutorials.
|
|
|
|
|
|
|
|
|
#3 |
|
Member
ishan
Join Date: Oct 2017
Posts: 80
Rep Power: 10 ![]() |
Hello.
I was not able to clearly understand what you meant by ramping of parameters. Do you mean steadily changing the parameters of the flow or the solution ? With regards to the Mach number, it is supposed to reach a maximum of 0.7. Another option which is coming to my mind right now is that I can switch of turbulence solving in rhoSimpleFoam run and then once u,v,w,T have acceptable convergence value, I can solve for turbulence. But again, I am not sure if this is the correct approach. Someone with more experience and knowledge can throw some light on it. |
|
|
|
|
|
|
|
|
#5 |
|
Member
ishan
Join Date: Oct 2017
Posts: 80
Rep Power: 10 ![]() |
Ok. Thanks for the inputs. I will keep that approach as one of the options.
|
|
|
|
|
|
|
|
|
#6 |
|
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 9 ![]() |
Hey ishan_ae, what I normally do is to run a simpleFoam simulation, then use the U and turbolence to inizialize the rhoSimpleFoam simulation.
The pressure and temperature will start from zero. This is the simplest way. Another way is to convert pressure from simple to rho. The formula can be find here: https://github.com/Carlopasquinucci/fromPtoPComp This script is not wokring perfectly, but it is a good starting point. |
|
|
|
|
|
|
|
|
#7 |
|
Member
ishan
Join Date: Oct 2017
Posts: 80
Rep Power: 10 ![]() |
Thanks Carlos. I am also thinking of using U field for initialization.
I will take a look at your script. Thanks for sharing. |
|
|
|
|
|
|
|
|
#8 |
|
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 9 ![]() |
You can also have a look into his discussion:
Calculate a new filed from variables in the controldict |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| rhoSimpleFoam doubts on BC and fvSchemes (external aero) | giovanni.medici | OpenFOAM Running, Solving & CFD | 3 | October 27, 2021 06:06 |
| Error Interpolating Results onto New Mesh | nammeh | CFX | 1 | March 26, 2019 13:08 |
| Stall behavior w/ initialization from previous results | lcbarreto | FLUENT | 4 | October 17, 2017 12:30 |
| Creating a tool to interpolate results | Luis Batista | OpenFOAM Running, Solving & CFD | 2 | April 11, 2013 09:15 |
| Different Results from Fluent 5.5 and Fluent 6.0 | Rajeev Kumar Singh | FLUENT | 6 | December 19, 2010 12:33 |