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

snGrad(rho) blows up my calculation - problems with the BC

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2013, 09:17
Default snGrad(rho) blows up my calculation - problems with the BC
  #1
Member
 
Nicklas Linder
Join Date: Jul 2012
Location: Germany
Posts: 35
Rep Power: 13
nlinder is on a distinguished road
Hi everybody!

I have the problem, that in some configurations (e.g. same case on 1 or 4 CPUs) my calculations blow up. I identified the calculation of rho as a possible source of my problems.

The solver I use is interFoam in OF version 2.2.x. I use a modified boundary condition for alpha, which is derived from the mixed BC. So besides e.g. the type and the value for a zeroGradient BC I have to provide some additional fields (refGradient, refValue, valueFraction). If i write out the rho field for the first timestep, everything seems to be fine until these additional fields are listed. They have values of xxxe+235 or in the next step nan for the mentioned refGradient or refValue or valueFraction.
I would just be glad if these fields are not touched for rho. The actual "value" of the BC is correct again.

Any ideas or which additional information can I provide?

Thanks in advance!
Nicklas

Last edited by nlinder; June 21, 2013 at 05:02. Reason: added test Case
nlinder is offline   Reply With Quote

Old   June 21, 2013, 05:02
Default
  #2
Member
 
Nicklas Linder
Join Date: Jul 2012
Location: Germany
Posts: 35
Rep Power: 13
nlinder is on a distinguished road
I provided a Boundary Condition for rho - so now it does not blow up the fields..

But this BC is inconsistent with the one I provide for alpha1 - so the results get strange. Somehow the calculation of rho with a non zeroGradient BC blows up my calculation..

And the BCs for pressure and velocity where "wrong" in the provided testCase. I'll update them as soon as possible.

Greetings

Last edited by nlinder; June 21, 2013 at 06:06.
nlinder is offline   Reply With Quote

Old   June 21, 2013, 06:08
Default
  #3
Member
 
Nicklas Linder
Join Date: Jul 2012
Location: Germany
Posts: 35
Rep Power: 13
nlinder is on a distinguished road
By the way. I had none of these problems in the OF1.6-ext Version. There, it works perfectly..
nlinder 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
Needed Benchmark Problems for FSI Mechstud Main CFD Forum 4 July 26, 2011 13:13
Warning 097- AB Siemens 6 November 15, 2004 05:41
Some problems with Star CD Micha Siemens 0 August 6, 2003 14:55
Temperature calculation problems Julie Polyakh Siemens 1 January 15, 2002 21:50
Inverse problems Aleksey Alekseev Main CFD Forum 0 May 12, 1999 16:38


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