CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

reactingFoam divengent at high temperature

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2022, 05:53
Post reactingFoam divengent at high temperature
  #1
New Member
 
Jiaqi Sun
Join Date: Apr 2022
Posts: 3
Rep Power: 4
forAurora is on a distinguished road
Dear foamers:
I am trying to simulate the jet in crossflow with reactingFoam, but when the crossflow inlet temperature is set to high temperature (~1500K or ~2000K), there is a problem.

My computational domain is shown in the figure.I use timeVaryingMappedFixedValue to set the temperature distribution at the inlet. If the temperature distribution is between 900-2600K (or 500-1500K after scaling), the calculation will diverge, like this.


Code:
--> FOAM FATAL ERROR: (openfoam-2012)
 Maximum number of iterations exceeded: 100 when starting from T0:300.28 old T:3500 new T:1904.52 f:1.63724e+07 p:101617 tol:0.030028

   From Foam::scalar Foam::species::thermo<Thermo, Type>::T(Foam::scalar, Foam::scalar, Foam::scalar, Foam::scalar (Foam::species::thermo<Thermo, Type>::*)(Foam::scalar, Foam::scalar)const, Foam::scalar (Foam::species::thermo<Thermo, Type>::*)(Foam::scalar, Foam::scalar)const, Foam::scalar (Foam::species::thermo<Thermo, Type>::*)(Foam::scalar)const) const [with Thermo = Foam::janafThermo<Foam::perfectGas<Foam::specie> >; Type = Foam::sensibleEnthalpy; Foam::scalar = double; Foam::species::thermo<Thermo, Type> = Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy>]
   in file /public1/soft/openfoam/2012/OpenFOAM-v2012/src/thermophysicalModels/specie/lnInclude/thermoI.H at line 76.
If the inlet temperature is set to a uniform 300K, there will be no problem.

Because I set a variable time step, sometimes after a period of time the time step becomes very small (like 1e-12s), which makes the calculation meaningless (this is usually accompanied by the lowest temperature in the flow field becoming the set minimum (200K)), and sometimes the calculation will just diverge.

I have read in other postings that the time step becomes very small probably because the final flow field is so different from the initial case that it takes some crazy time step to reach the correct flow field (I forget the exact posting, thanks to that responder), but I found it to be of little use when I tried it, or maybe I tried to initialize the flow field incorrectly.

The same fluid is entering at inlet (40m/s) and jetIn (160m/s), just marking them as two components at constant/reactions to study mixing, and not setting up the chemical reactions to occur.

I tried to solve this problem by changing the janaf coefficients in constant/thermo, but it did not work well. I also tried to modify the maximum number of iterations, but this proved to be useless, as I don't think it should be a problem of insufficient number of iterations. After making the choice, I changed the ddtScheme from backsward to Euler to continue the calculation, but this would result in a significant decrease in the accuracy of the calculation.

I also noticed that the results of calculations performed for the same setup could be different. Sometimes the problem occurs in the first few steps at the beginning of the calculation, and sometimes it occurs after thousands/tens of thousands of time steps, which simply makes me think that it is a matter of luck anymore.

The computational mesh I use is a simple geometric mesh generated by blockMesh, after first generating a homogeneous mesh and then a simple refineMesh locally. so there is not much problem in the mesh quality?

After trying various boundary conditions, I still can't solve this problem, if I still want to get finer results with the same mesh size (e.g. set ddeScheme to backward, maybe I should try other discrete formats?) What should I do? In particular, what can be the reason for the phenomenon that the temperature becomes the minimum value set?

I am new to CFD and OpenFOAM and would really really appreciate any advice you may have. Thanks in advance!!
Attached Images
File Type: png computional domain.png (40.8 KB, 3 views)
forAurora is offline   Reply With Quote

Reply

Tags
divengent, hightemperature, jicf, reactingfoam


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
Averaging over iterations for steady-state simulation CFD student Fluent UDF and Scheme Programming 8 September 22, 2022 03:39
use fvOption to set high temperature zone renzhaoxin1989 OpenFOAM 0 August 4, 2020 13:26
reactingFoam with very high temperatures liguobing00 OpenFOAM Running, Solving & CFD 2 June 10, 2017 17:35
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion faizan_habib7 CFX 4 February 1, 2016 17:00
Too high temperature in the spray? chenhu OpenFOAM Running, Solving & CFD 1 February 16, 2012 10:00


All times are GMT -4. The time now is 20:30.