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

Determining forces on a cell face in OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 5, 2008, 07:22
Default Hello I have the following
  #1
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
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, 03:44
Default the last line should read sur
  #2
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
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


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
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 Siemens 0 May 6, 2006 23:44
DPM velocity at cell face Szabolcs Varga FLUENT 1 September 16, 2004 08:30
identify Cell face Sunlight007 Siemens 3 August 30, 2003 06:30
About the cell face definition! deloubie Siemens 0 January 19, 2003 07:08


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