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

rhoCentralFoam issues

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 24, 2015, 06:25
Default rhoCentralFoam issues
  #1
New Member
 
rafath
Join Date: Jun 2014
Location: mumbai
Posts: 24
Rep Power: 11
R_21 is on a distinguished road
Hi Foamers,

I am trying to simulate a swirling flow for compressible flow conditions. I was able to do the same using SimpleFoam. But while using rhoCentralFoam , I am getting the following error.

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#4 Foam:perator/(Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#5 Foam::diagonalSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#6 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
#7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
#8 Foam::SolverPerformance<double> Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) at ??:?
#9
at ??:?
#10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#11

I have tried changing the values in 0 folder and the BC. Initially I thought it was due to Swirl , but when I used uniform flow conditions also the same error pops up.

Any Suggestions helpful .

Regards,

Rafath
R_21 is offline   Reply With Quote

Old   September 25, 2015, 09:47
Default
  #2
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
Try lower timestep or other scheme/matrix solver?
chriss85 is offline   Reply With Quote

Old   September 30, 2015, 08:38
Default
  #3
New Member
 
rafath
Join Date: Jun 2014
Location: mumbai
Posts: 24
Rep Power: 11
R_21 is on a distinguished road
Thanks a lot for the help .
The problem was with the DDt definition that is had given in FVschemes.

Although that issue is fixed.
later on when I run the Simulation this pops :
"
--> FOAM FATAL ERROR:
incompatible dimensions for operation
[rhoE[0 2 -3 0 0 0 0] ] - [div(sigmaDotU)[1 -1 -3 0 0 0 0] ]
"

I tried changing the rhoE solver type in FVsolution. But none seems to work.
R_21 is offline   Reply With Quote

Old   September 30, 2015, 09:39
Default
  #4
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
Have you checked that your units are ok in each of the initial fields?
chriss85 is offline   Reply With Quote

Old   October 1, 2015, 07:52
Default
  #5
New Member
 
rafath
Join Date: Jun 2014
Location: mumbai
Posts: 24
Rep Power: 11
R_21 is on a distinguished road
Thanks chriss85 for the help.
I didn't check my unit of pressure assuming it would not change in compressible flow.

One more thing. Is there a way to understand printstack errors.

Regards,
Rafath
R_21 is offline   Reply With Quote

Old   October 1, 2015, 08:57
Default
  #6
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
Only somewhat. It will tell you in which function it crashes and the call stack. Most solvers are written in a linear fashion in a single function so it's not always helping. If you have a reproducible problem you're best of inserting some console output throughout the code and tracing the line that crashes.
chriss85 is offline   Reply With Quote

Old   October 1, 2015, 14:09
Default
  #7
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Quote:
Originally Posted by R_21 View Post
Thanks chriss85 for the help.
I didn't check my unit of pressure assuming it would not change in compressible flow.

Regards,
Rafath
In OpenFOAM compressible and incompressible pressures have different units

Also, try to set viscousity to zero, this can help you to find place of error, because this will switch model to Euler equations
mkraposhin is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Modify rhoCentralFoam: other equations of state fivos OpenFOAM Programming & Development 5 July 29, 2020 13:17
Multigrid Stability Issues ThomasHermann SU2 1 November 5, 2014 16:18
rhoCentralFoam flat plate boundary layer issues laurensvd OpenFOAM Running, Solving & CFD 6 September 13, 2013 03:10
dynamic mesh refinement and rhoCentralFoam ChrisA OpenFOAM Running, Solving & CFD 1 March 21, 2013 08:00
rhoCentralFoam boundary issues with custom local time stepping laurensvd OpenFOAM Running, Solving & CFD 0 February 20, 2012 10:15


All times are GMT -4. The time now is 22:53.