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

Determining forces on a cell face in OpenFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 5, 2008, 06:22
Default Hello I have the following
  #1
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 90
Rep Power: 8
srinath is on a distinguished road
Hello

I have the following lines in my code which don't compile.
Could someone tell me what's wrong.

volTensorField tauMC("tauMC",mu*dev2(fvc::grad(U)().T()));
surfaceTensorField tauMC_surf=linearInterpolate(tauMC);
surfaceVectorField phi_rhoU_visc = tauMC_surf & mesh.Sf;

Regards
Srinath
srinath is offline   Reply With Quote

Old   September 6, 2008, 02:44
Default the last line should read sur
  #2
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 90
Rep Power: 8
srinath is on a distinguished road
the last line should read
surfaceVectorField phi_rhoU_visc = tauMC_surf & mesh.Sf();

Everything works fine now
srinath 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
Forces viscous calculation in VWT with OpenFOAM 15x terrybarnaby OpenFOAM Running, Solving & CFD 0 November 28, 2008 09:39
cell velocity U and its cell face area Chinayu CD-adapco 0 May 6, 2006 22:44
DPM velocity at cell face Szabolcs Varga FLUENT 1 September 16, 2004 07:30
identify Cell face Sunlight007 CD-adapco 3 August 30, 2003 05:30
About the cell face definition! deloubie CD-adapco 0 January 19, 2003 07:08


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