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

MeshPhi for scalar field in 14 gone

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 18, 2007, 06:20
Default Hi there, In 1.3, in a boun
  #1
Senior Member
 
Thomas Jung
Join Date: Mar 2009
Posts: 100
Rep Power: 8
tehache is on a distinguished road
Hi there,

In 1.3, in a boundary condition, I was doing:

const fvPatch& p = patch();
const volScalarField& c = db().lookupObject<volscalarfield>("C1");
scalarField phic = patchField<surfacescalarfield,>(fvc::meshPhi(c));

to get the flux caused by mesh motion through a surface. That worked.

In 1.4, I had to change first to patch().patchfield .... and so on,
but then still get an error

no matching function for call to 'meshPhi(const Foam::GeometricField<double,>&)'

Does it mean there is no way to calculate the flux of a scalar quantity by meshPhi anymore, for some reason?
Or is there another recommended way?

Thank you very much for any hint!

regards,

Thomas
tehache 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
Scalar Field Residual dak81 OpenFOAM Running, Solving & CFD 3 February 13, 2008 02:48
Mesh refinemt by scalar field zurdo OpenFOAM Mesh Utilities 3 January 9, 2008 06:15
Calculated Values in scalar field arkangel OpenFOAM Running, Solving & CFD 0 June 28, 2007 07:53
from a vecor field to get a gradient of scalar dusky.he Main CFD Forum 4 March 30, 2007 09:08
Boundary scalar field segersson OpenFOAM Running, Solving & CFD 1 March 6, 2006 05:22


All times are GMT -4. The time now is 20:38.