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

Compressible/Mixing Solver

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2016, 15:21
Default Compressible/Mixing Solver
  #1
New Member
 
David
Join Date: Jul 2015
Posts: 4
Rep Power: 9
David_C is on a distinguished road
Hello All!

I am new to OpenFOAM, and seem to have bitten off more than chew. I would appreciate any help that people have to offer. I would also like to apologize ahead of time, if this question has already been answered. If so, please direct me to the appropriate links!

I am currently working on the mixing of exhaust gases from a rocket and air. This is a compressible case, at a speed of around Mach 2. I have been using rhoSimpleFoam until now, but don't exactly know how to allow for the two different fluids. Obviously, each one has it's own thermodynamic properties.

So my main questions: How do I set up my 0 folder files to allow for two fluids to mix, and which solver should I use for compressible mixing?

Thank you all for your time! I look forward to hearing from you.

- David
David_C is offline   Reply With Quote

Old   March 19, 2016, 16:14
Default
  #2
Member
 
Vinícius da Costa Ávila
Join Date: Jul 2015
Location: Porto Alegre, Brazil
Posts: 62
Rep Power: 9
avila.vc is on a distinguished road
Hi David, I don't have much experience, but as far as I know, for multiphase flows, the easier to do is to take a look at the multiphase solvers (applications/solvers/multiphase) and tutorials (tutorials/multiphase) like interFoam, compressibleInterfoam, twoPhaseEulerFoam and so on.
__________________
Vinícius dC.A.
avila.vc is offline   Reply With Quote

Old   March 25, 2016, 17:12
Default
  #3
New Member
 
David
Join Date: Jul 2015
Posts: 4
Rep Power: 9
David_C is on a distinguished road
Hey avila.vc! Thank you for replying.

Unfortunately, with the multiphase solvers, they are mainly used on incompressible fluids. However, due to the high speed flows of my simulation, I need compressible. The only two that deal with compressibility are cavitatingFoam (obviously dealing with cavitation), and compressibleInterFoam (but this solver is isothermal and immiscible).

So I still need some form of different solver. I was thinking of using rhoSimpleFoam and employing the different chemical files, like reactingFoam. Any thoughts?
David_C is offline   Reply With Quote

Old   March 25, 2016, 17:42
Default
  #4
Member
 
Vinícius da Costa Ávila
Join Date: Jul 2015
Location: Porto Alegre, Brazil
Posts: 62
Rep Power: 9
avila.vc is on a distinguished road
David, twoPhaseEulerFoam is a compressible solver since ... (I don't really remember the OF version it started as compressible). You should take a look. But with OF3.0.x this solver should be okay for you.


Edit: I should say, however, that I don't know if twoPhaseEulerFoam can manage very high velocities (I have never tested). But unless you have programming experience, I think it is a good starting point. Now, if you still want to modify a solver, I am afraid I am not the best person to help you. But I think implementing more phases is more difficult than making a solver non-isothermal and compressible (like interFoam).
Edit2: Just to be clearer: to modify a solver (allowing more phases to be considered, for example) isn't just put other files in the 0 folder. To do that, you have to modify, in C++, the solver code.
__________________
Vinícius dC.A.
avila.vc is offline   Reply With Quote

Reply

Tags
0folder, compressible, mixing, rocket, solver

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
Fluent Adjoint Solver? ex10148 FLUENT 16 September 28, 2018 09:11
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10:52
Divergence problem Smaras FLUENT 13 February 21, 2013 06:03
3d vof Smaras FLUENT 2 February 19, 2013 07:58
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08


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