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

Problem with convection term

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Cyp

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2015, 11:10
Unhappy Problem with convection term
  #1
Senior Member
 
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11
rapierrz is on a distinguished road
Hello friends,

I have a problem with energy equation in icoFoam

fvm::ddt(T)
+fvm::div(phi,T)
-fvm::laplacian(D,T)

my boundary condition is T=353 at wall and T=293 in internalField,

but in temrature data i have T=2000-3000 and i know it's from convection

term but i don't know that's reason!!!

Last edited by rapierrz; March 3, 2015 at 23:48.
rapierrz is offline   Reply With Quote

Old   March 3, 2015, 20:15
Default
  #2
Cyp
Senior Member
 
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18
Cyp is on a distinguished road
Quote:
Originally Posted by rapierrz View Post
Hello friends,

I have a problem with energy equation in icoFoam

fvm::ddt(T)
-fvm::div(phi,T)
-fvm::laplacian(D,T)

my boundary condition is T=353 at wall and T=293 in internalField,

but in temrature data i have T=2000-3000 and i know it's from convection

term but i don't know that's reason!!!
PLUS instead of MINUS for the convection term should works
Cyp is offline   Reply With Quote

Old   March 3, 2015, 23:53
Default
  #3
Senior Member
 
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11
rapierrz is on a distinguished road
Excuse me Cyprien,

my equation is :

fvm::ddt(T)

+fvm::div(phi,T)

-fvm::laplacian(D,T)

and when I remove the convection term everything is ok but when I add

this term temprature become very high!!!
rapierrz is offline   Reply With Quote

Old   March 3, 2015, 23:57
Default
  #4
Cyp
Senior Member
 
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18
Cyp is on a distinguished road
what if you decrease your time step ?
rapierrz likes this.
Cyp is offline   Reply With Quote

Old   March 4, 2015, 00:05
Default
  #5
Senior Member
 
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11
rapierrz is on a distinguished road
My time step is 0.000005 sec.and courant number in runtime is about 0.4
rapierrz is offline   Reply With Quote

Old   March 4, 2015, 02:26
Default
  #6
Senior Member
 
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11
rapierrz is on a distinguished road
Thank you very much Cyprien,

I decrease the time step to 0.0000005 and it's work!
rapierrz 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
Very simple natural convection problem Naseem FLUENT 19 December 17, 2020 16:00
Problem adding a source term in interfoam's alphaEqn.H Quentin OpenFOAM Running, Solving & CFD 1 July 30, 2014 05:33
interfoam: a problem with removing convection in the air phase bieshuxuhe OpenFOAM 0 March 31, 2014 22:56
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
Problem Buoyancy Term Andreas Main CFD Forum 1 March 4, 2004 00:35


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