|
[Sponsors] |
Jet spray simulation, which solver we have to use |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 18, 2018, 14:34 |
Jet spray simulation, which solver we have to use
|
#1 |
Member
Sesh
Join Date: Dec 2018
Posts: 42
Rep Power: 8 |
The jet is pressed through a cylindrical nozzle of a length of 70 mm and an
inner diameter of 1 mm. Afterward, it expands in initially quiescent air of atmo- spheric pressure. The jet consists of a Helium/Nitrogen mixture of a density of 0.31 kg/m3. The velocity at the nozzle outlet is approximately 200 m/s. Both the air and the jet are of a temperature of T = 293 K. How we can determine the velocity and mass fraction fields? |
|
December 19, 2018, 13:48 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66 |
You just need to use the species transport model. Other than that, nothing fancy here and just about any solver settings will work.
|
|
December 19, 2018, 14:54 |
confused to use solver in open foam
|
#3 |
Member
Sesh
Join Date: Dec 2018
Posts: 42
Rep Power: 8 |
I appreciate your reply LuckyTran, but I'm sorry for not mentioning OpenFoam in my question. Could you please suggest a solver for that solving that situation and how can determine the velocity and mass fractions?
|
|
December 19, 2018, 17:19 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66 |
Use a solver with a YEqn.H. Try reactingFOAM
The velocity is the U field and mass fraction is Y field. You don't have to do any advanced post-processing to get them. If you can setup the case properly in OpenFOAM, they are right there. |
|
December 20, 2018, 17:01 |
error after replacing the components using reacting foam
|
#5 |
Member
Sesh
Join Date: Dec 2018
Posts: 42
Rep Power: 8 |
I'm not sure what went wrong, can some one help....
Thanks in advance Code:
Selecting combustion model laminar<psiChemistryCombustion> Selecting chemistry type { chemistrySolver EulerImplicit; chemistryThermo psi; } Selecting thermodynamics package { type hePsiThermo; mixture reactingMixture; transport sutherland; thermo janaf; energy sensibleEnthalpy; equationOfState perfectGas; specie specie; } Selecting chemistryReader foamChemistryReader --> FOAM Warning : From function entry::getKeyword(keyType&, Istream&) in file db/dictionary/entry/entryIO.C at line 80 Reading C:/blueCFD-Core-2016/msys64/home/ofuser/jetspray/constant/reactions found on line 11 the punctuation token '{' expected either } or EOF --> FOAM FATAL ERROR: HE not found in table. Valid entries: 5 ( N2 CO2 O2 CH4 H2O ) From function const T& Foam::HashTable<T, Key, Hash>::operator[](const Key&) const [with T = Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> >*; Key = Foam::word; Hash = Foam::string::hash] in file X:/OpenFOAM-4.x/src/OpenFOAM/containers/HashTables/HashTable/HashTableI.T.H at line 134. FOAM exiting Last edited by wyldckat; December 28, 2018 at 16:14. Reason: Added [CODE][/CODE] markers |
|
December 22, 2018, 11:16 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Without being able to see the file "jetspray/constant/reactions", it's not possible for us to properly diagnose why this happened:
Quote:
Please follow the instructions given here, in order to make it easier for people to help you: How to give enough info to get help
__________________
|
||
December 26, 2018, 11:45 |
|
#7 | |
Member
Sesh
Join Date: Dec 2018
Posts: 42
Rep Power: 8 |
Hi Bruno, I've corrected it but now the simulation crashed. I don't know why. Could you please suggest what changes do I need to make.
The jet is pressed through a cylindrical nozzle of a length of 70 mm and an inner diameter of 1 mm. Afterward, it expands in initially quiescent air of atmospheric pressure. The jet consists of a Helium/Nitrogen mixture of a density of 0.31 kg/m3. The velocity at the nozzle outlet is approximately 200 m/s. Both the air and the jet are of a temperature of T = 293 K. Discuss the resulting velocity and mass fraction fields. I'm trying to solve it with reactingFoam by making the chemistry off and combustion as well. but the solution is getting crashed. thermophysicalProperties.cchemistryProperties.txt combustionProperties.txt thermo.txt reactions.txt thermophysicalProperties.c Quote:
|
||
December 28, 2018, 12:07 |
|
#8 |
Member
Join Date: Dec 2018
Location: Darmstadt, Germany
Posts: 87
Rep Power: 8 |
Hey,
since you don't mention the error message, I assume you still have the same problem: in your thermoPhysicalProperties.txt Code:
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas"; Code:
foamChemistryThermoFile "$FOAM_CASE/constant/thermo"; If the solver is crashing for another reason and you would like to get some help, you should consider posting at least the error message. Cheers RP |
|
December 28, 2018, 15:34 |
did,, still getting error
|
#9 | |
Member
Sesh
Join Date: Dec 2018
Posts: 42
Rep Power: 8 |
>thanks,, I did it, still getting error as shown
Code:
virothi@COOLTEK09 MINGW64 OpenFOAM-4.x ~/react $ reactingFoam.exe /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ /* Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt *\ | Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com | \*---------------------------------------------------------------------------*/ Build : 4.x-ed69f631ce88 Exec : C:/blueCFD-Core-2016/OpenFOAM-4.x/platforms/mingw_w64GccDPInt32Opt/bin/reactingFoam.exe Date : Dec 28 2018 Time : 20:33:29 Host : "COOLTEK09" PID : 6912 Case : C:/blueCFD-Core-2016/msys64/home/ofuser/react nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 PIMPLE: Operating solver in PISO mode Creating reaction model Selecting combustion model noCombustion<psiThermoCombustion> Selecting thermodynamics package { type hePsiThermo; mixture reactingMixture; transport sutherland; thermo janaf; energy sensibleEnthalpy; equationOfState perfectGas; specie specie; } Selecting chemistryReader foamChemistryReader --> FOAM FATAL IO ERROR: file "C:/blueCFD-Core-2016/msys64/home/ofuser/react/constant/Thermo" does not exist file: C:/blueCFD-Core-2016/msys64/home/ofuser/react/constant/Thermo at line 1. From function Foam::IFstream& Foam::IFstream::operator()() const in file db/IOstreams/Fstreams/IFstream.C at line 188. FOAM exiting Quote:
Last edited by wyldckat; December 28, 2018 at 16:11. Reason: Added [CODE][/CODE] markers |
||
December 28, 2018, 16:25 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answers:
The original error message indicated in post #5 is not clear on the origin of the problem, given that it's still listing an outdated list of chemical reactions. So it feels like there is more than one file in the "constant" folder... and this separate custom tutorial case should help divide the problems apart. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to restart simulation using results from other solver | sahmed | OpenFOAM Running, Solving & CFD | 8 | July 5, 2019 07:02 |
Fuel Spray Simulation - How to go about it using fluent? | hadiniesta | FLUENT | 2 | May 26, 2017 03:12 |
2 Phase Flow, Gas Jet into Water Simulation Method | im_lenny | OpenFOAM | 3 | May 4, 2017 04:20 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 10:52 |
Star crashed with spray simulation, please help! | Jimmy Fox | Siemens | 4 | October 17, 2006 17:09 |