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

Error while solving for trans-critical fluid flow of N2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 5, 2021, 04:11
Unhappy Error while solving for trans-critical fluid flow of N2
  #1
New Member
 
swapnil
Join Date: Feb 2015
Location: India
Posts: 5
Rep Power: 11
sopu is on a distinguished road
I am trying to simulate transcritical/supercritical flow of N2.
I am using nasa9 polynomials and transport properties for dense fluids by Chung et al.

I have successfully simulated supercritical flow(T=137K,P=4Mpa) but when I try to go near transcritical region (T=127K,P=4Mpa), the newton rhapson method which calculates temperature back from solved enthalpy fails.

I am attaching the error message here.
https://drive.google.com/file/d/149R...ew?usp=sharing

I have tried few suggestions from FOAM FATAL ERROR Maximum number of iterations exceeded but it doesn't work. This new solver keeps crashing within few minutes.

Please give suggestion to solve this problem.
sopu is offline   Reply With Quote

Old   November 22, 2021, 02:06
Default Solved this issue by changing algorithm
  #2
New Member
 
swapnil
Join Date: Feb 2015
Location: India
Posts: 5
Rep Power: 11
sopu is on a distinguished road
I have changed the root finding algorithm to bisection method and it works now. But it is quite slow due to nature of bisection method.
sopu is offline   Reply With Quote

Reply

Tags
newton-raphson, supercritical n2, transcritical


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
[solids4Foam] How to calculate drag coeff when using solids4Foam amuzeshi OpenFOAM CC Toolkits for Fluid-Structure Interaction 15 November 7, 2019 13:50
chtMultiRegionSimpleFoam: maximum number of iterations excedeed. Nkl OpenFOAM Running, Solving & CFD 19 October 10, 2019 03:42
Free surface issues with interDyMFoam for hydroturbine oumnion OpenFOAM Running, Solving & CFD 0 October 6, 2017 15:05
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 03:50
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 11:15.