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

Problem with scalarTransportFoam illistrated using pitzDaily tutorial

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2010, 12:55
Default Problem with scalarTransportFoam illistrated using pitzDaily tutorial
  #1
New Member
 
Michael Lawson
Join Date: Apr 2009
Location: NREL - Boulder, CO
Posts: 11
Rep Power: 16
mlawson is on a distinguished road
Hi All,

I have been using scalarTransportFoam to simulate chemical transport in a very complex geometry. While the value of my scalar should remain between 0 and 1, I see values as high as 2.5.

To trouble-shoot this problem I went to the scalarTransportFoam tutorial pitzDaily. When the diffusivity (DT) is set to 0.01 in transportProperities the maximum value of the scalar should remain between 0 and 1, but goes as high as ~1.007 - this is not a big problem.

However, if the diffusivity (DT) is changed to 1e-6 and the tutorial is re-run, the scalar value goes to ~1.43, with the maximum value along the wall. This level of error is unacceptable.

Additionally, I tried changing the fvSchemes from the default tutorial settings to:
div(phi,T) Gauss upwind;
laplacian(DT,T) Gauss linear uncorrected;
This did not help the problem.

Does anyone have any suggestion on settings for the fvSchemes dictionary that would fix this problem?

Thanks in advance,

-Mike
mlawson is offline   Reply With Quote

Old   March 24, 2010, 11:10
Default
  #2
New Member
 
Michael Lawson
Join Date: Apr 2009
Location: NREL - Boulder, CO
Posts: 11
Rep Power: 16
mlawson is on a distinguished road
Hi again,

The problem appears to be with "createPhi.H".

If you run the simpleFoam tutorial pitzDaily and copy U and phi at the final timestep over to the scalarTransportFoam pitzDaily tutorial, then rerun scalarTransportFoam the solution remails bounded between 0 and 1. If you then move phi to phi.hold and rerun scalarTransportFoam, the solution is no longer bounded between 0 and 1.

Additionally, the phi that is created by scalarTransportFoam is significantly different from the phi.hold which was written by the simpleFoam solver. In many cells, the phi value differs by 10% or more.

I'm at a loss for what the problem could be here... Anyone have any ideas?

-Mike
mlawson is offline   Reply With Quote

Old   January 18, 2011, 13:39
Default
  #3
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Quote:
Originally Posted by mlawson View Post
Hi again,

The problem appears to be with "createPhi.H".

If you run the simpleFoam tutorial pitzDaily and copy U and phi at the final timestep over to the scalarTransportFoam pitzDaily tutorial, then rerun scalarTransportFoam the solution remails bounded between 0 and 1. If you then move phi to phi.hold and rerun scalarTransportFoam, the solution is no longer bounded between 0 and 1.

Additionally, the phi that is created by scalarTransportFoam is significantly different from the phi.hold which was written by the simpleFoam solver. In many cells, the phi value differs by 10% or more.

I'm at a loss for what the problem could be here... Anyone have any ideas?

-Mike
Im not sure if you are still interested but I had similar bounding issues with turbulent passive scalar transport. If you look at the scalar transport equations for say the Spallart-almaras or k-epsilon models then that might help, since they use an implicit/explicit source term. Also, look a the tread:

http://www.cfd-online.com/Forums/ope...lations-2.html

I hope this helps.

Dan
chegdan is offline   Reply With Quote

Reply

Tags
scalartransportfoam

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
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Rotor/stator tutorial, and how to... gilberto CFX 5 January 21, 2002 09:41
extremely simple problem... can you solve it properly? Mikhail Main CFD Forum 40 September 9, 1999 09:11
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


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