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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: ngj
Forum: OpenFOAM March 3, 2010, 05:39
Replies: 12
Views: 4,348
Posted By ngj
Hi A work around, as you have spent a lot...

Hi

A work around, as you have spent a lot of time on this is to do for instance as follows:

// gamma being a volScalarField
scalarField V = mesh.V();
forAll(V,i)
{
gamma[i] *= V[i];...
Forum: OpenFOAM March 3, 2010, 04:51
Replies: 12
Views: 4,348
Posted By ngj
Hi According to Doxygen, this is the...

Hi

According to Doxygen, this is the following is the way to access the volume:

const Foam::DimensionedField<double, Foam::volMesh> & foo = mesh.V();

See ...
Showing results 1 to 2 of 2

 
Forum Jump

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