# body force

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

 February 8, 2012, 11:39 body force #1 Senior Member   Goutam Saha Join Date: Dec 2011 Location: UK Posts: 131 Rep Power: 7 Sponsored Links 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.

 February 8, 2012, 11:40 body force #2 Senior Member   Goutam Saha Join Date: Dec 2011 Location: UK Posts: 131 Rep Power: 7 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.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post chris Liu OpenFOAM Programming & Development 4 October 27, 2014 16:38 colopolo CFX 13 October 4, 2011 22:03 Souviktor Fluent UDF and Scheme Programming 0 March 31, 2009 08:54 selvam R.P CFX 4 November 25, 2005 05:01 sawa FLUENT 2 April 11, 2005 03:06