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

An interesting problem in fvSchemes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 29, 2023, 01:11
Default An interesting problem in fvSchemes
  #1
New Member
 
han
Join Date: Jul 2021
Posts: 7
Rep Power: 4
han-1 is on a distinguished road
I was simulation pure species transport using reactingFoam(turn reactions off)
First, the divSchemes were set as follows:
divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phi,Yi_h) Gauss upwind;
div(phi,h) Gauss limitedLinear 1;
div(phi,K) Gauss upwind;
div(phi,Yi) Gauss upwind;
div(phid,p) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,k) Gauss upwind;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}
The solution diverges in a few time steps.Then i swapped the position of 'div(phi,Yi_h)' and 'div(phi,Yi)’. It works !!!!!
WHY? Someone can give an explanation to this?
han-1 is offline   Reply With Quote

Old   January 2, 2024, 05:52
Default
  #2
Senior Member
 
Join Date: Dec 2021
Posts: 209
Rep Power: 5
Alczem is on a distinguished road
Hey


Can you post the whole case? It might help to reproduce this issue and seek out an explanation.
Alczem is offline   Reply With Quote

Old   January 2, 2024, 07:50
Default
  #3
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
For consistency, you should use the same cenvection scheme on all species and the energy equation - this is why it says Yi (species) _ h (enthalpy).


This is called a multi-variate scheme. Maybe the format has changed ot somebudy messes with your solver.


Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Reply


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
Problem diverges when exhaust valve opens swerner0711 AVL FIRE 0 September 21, 2018 07:14
Convergence Problem in Multiphase problem (three phases) m.uzair FLUENT 0 August 2, 2018 08:23
Large problem partitioner tzy CFX 3 February 7, 2018 17:11
Can I solve this problem by Fluent? Kai_kc FLUENT 1 October 27, 2010 05:29
extremely simple problem... can you solve it properly? Mikhail Main CFD Forum 40 September 9, 1999 09:11


All times are GMT -4. The time now is 23:46.