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

body force

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2012, 11:39
Default body force
  #1
Senior Member
 
Goutam Saha
Join Date: Dec 2011
Location: UK
Posts: 131
Rep Power: 14
Goutam is on a distinguished road
fvVectorMatrix UEqn
(
fvm::ddt(U)
+ fvm::div(phi, U)
- fvm::laplacian(nu, U)

-beta*(T - T0)*g
;



fvScalarMatrix TEqn(
fvm::ddt(T)
+ fvm::div(phi, T)
- fvm::laplacian(DT, T)
;




I add body force with the momentum equation, when I run my problem,

I am getting the value of p, T and U. only problem is, no variation is found

for U. I consider g as (9.71 0 0). moving top wall temp is 1, cold bottom

wall temp is 0. others walls temp is zeroGradient. its a simple 2D case.
Goutam is offline   Reply With Quote

Old   February 8, 2012, 11:40
Default body force
  #2
Senior Member
 
Goutam Saha
Join Date: Dec 2011
Location: UK
Posts: 131
Rep Power: 14
Goutam is on a distinguished road
fvVectorMatrix UEqn
(
fvm::ddt(U)
+ fvm::div(phi, U)
- fvm::laplacian(nu, U)

-beta*(T - T0)*g
);

fvScalarMatrix TEqn(
fvm::ddt(T)
+ fvm::div(phi, T)
- fvm::laplacian(DT, T)
);


I add body force with the momentum equation, when I run my problem,
I am getting the value of p, T and U. only problem is, no variation is found
for U. I consider g as (9.71 0 0). moving top wall temp is 1, cold bottom
wall temp is 0. others walls temp is zeroGradient. its a simple 2D case.
Goutam 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
How to add a source term (body force) to icoFoam? chris Liu OpenFOAM Programming & Development 4 October 27, 2014 16:38
Force can not converge colopolo CFX 13 October 4, 2011 23:03
Body force at the cell face Souviktor Fluent UDF and Scheme Programming 0 March 31, 2009 09:54
how to include body force in cfx selvam R.P CFX 4 November 25, 2005 05:01
UDF for lift force on a bluff body sawa FLUENT 2 April 11, 2005 04:06


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