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

body force

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 8, 2012, 11:39
Default body force
  #1
Senior Member
 
Goutam Saha
Join Date: Dec 2011
Location: UK
Posts: 128
Rep Power: 5
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: 128
Rep Power: 5
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
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 On
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 22:03
Body force at the cell face Souviktor Fluent UDF and Scheme Programming 0 March 31, 2009 08: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 03:06


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