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

MeshPhi for scalar field in 14 gone

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 102
Rep Power: 17
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


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
Scalar Field Residual dak81 OpenFOAM Running, Solving & CFD 3 February 13, 2008 01:48
[mesh manipulation] Mesh refinemt by scalar field zurdo OpenFOAM Meshing & Mesh Conversion 3 January 9, 2008 05: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 04:22


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