|
[Sponsors] |
How to set my thermophysicalProperties to simulate multi gas problem? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 9, 2020, 03:22 |
How to set my thermophysicalProperties to simulate multi gas problem?
|
#1 |
New Member
Hyeonggyu Kim
Join Date: Aug 2020
Posts: 3
Rep Power: 6 |
Hello foamers!
I'm new in OpenFOAM and i want to simulate hypersonic flow around blunt body with multi(N2, O2, Ar) gases. To simulate this problem, I found that i should set my thermophysicalProperties file with multiComponentMixture. Following is my thermophysicalProperties file. /*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // thermoType { type hePsiThermo; mixture multiComponentMixture; transport sutherland; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleInternalEnergy; } species ( Ar O2 N2 ); // normalised gas Ar { specie { nMoles 1; molWeight 39.948; } thermodynamics { Tlow 1; Thigh 5000; Cp 2.5; Hf 0; } transport { As 1.67212e-06; Ts 170.672; Pr 1; } } O2 { specie { nMoles 1; molWeight 32; } thermodynamics { Tlow 1; Thigh 5000; Cp 2.5; Hf 0; } transport { As 1.67212e-06; Ts 170.672; Pr 1; } } N2 { specie { nMoles 1; molWeight 28; } thermodynamics { Tlow 1; Thigh 5000; Cp 2.5; Hf 0; } transport { As 1.67212e-06; Ts 170.672; Pr 1; } } Then I enter the rhoCentralFoam in my terminal but the message was like this. And nothing happened. Selecting thermodynamics package { type hePsiThermo; mixture multiComponentMixture; transport sutherland; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleInternalEnergy; } I cannot realize my mistake. Thanks for the advice in advance, It will be very thankful to let me know how could I set my thermophysicalProperties properly. |
|
October 9, 2020, 12:40 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
rhoCentralFoam, as released, is not built to run with that thermo setup -- there likely was a long message about the types of thermo that rhoCentralFoam can use. There are various threads about updating rhoCentralFoam to include this capability (e.g., Transport of chemical species in rhoCentralFoam), but if you're interested in hypersonic flow you might want to check out hyFoam (https://github.com/vincentcasseau/hyStrath).
Caelan |
|
October 10, 2020, 03:06 |
|
#3 |
New Member
Hyeonggyu Kim
Join Date: Aug 2020
Posts: 3
Rep Power: 6 |
Thank you Caelan.
I'll check about rhoCentralFoam and hyFoam too. Thanks a lot!! Kim |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain Reference Pressure and mass flow inlet boundary | AdidaKK | CFX | 75 | August 20, 2018 06:37 |
Three Gas Flow Mixing Problem | Yu Yang | FLUENT | 3 | March 26, 2018 10:57 |
Problem in simulation of toxic gas release | billy7590 | FLUENT | 4 | September 14, 2017 15:12 |
Ideal gas problem | Atze | CFX | 12 | March 20, 2014 16:56 |
Coupled VOF and Multiphase Segregated Flow for a gas bubble problem?? | EnronZhang | STAR-CCM+ | 1 | December 19, 2013 09:41 |