CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM


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

LinkBack Thread Tools Display Modes
Old   October 5, 2009, 08:27
Default divergence
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 96
Rep Power: 8
r2d2 is on a distinguished road
I want to create a volumeScalar field with the value for the divergence
of a quantity S*V where S is a scalar and V a vector (velocity).
For this I do

phiS = linearInterpolate(S*V)&mesh.Sf();
netFluxVol[cellI] = 0.0;
Is this right?
many thanks,
r2d2 is offline   Reply With Quote


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
UDF divergence of a vector cris FLUENT 3 September 4, 2014 18:06
Divergence problem for species transport model MY FLUENT 3 January 11, 2014 05:46
Role of divergence shekharc Main CFD Forum 7 July 5, 2005 12:08
divergence in MAC Method Maciej Matyka Main CFD Forum 2 December 19, 2000 11:43
help:spectral methods & divergence free functionsn D. Puigjaner Main CFD Forum 1 August 28, 2000 10:06

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