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 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: eugene
Forum: OpenFOAM June 23, 2006, 04:09
Replies: 11
Views: 3,162
Posted By eugene
Try volScalarField L = (2.

Try

volScalarField L = (2.0/3.0)*Foam::pow(mesh.V(), (1.0/3.0));

If you do this
a = (1/3)
a = 0

Because you are doing integer division.
Showing results 1 to 1 of 1

 
Forum Jump

All times are GMT -4. The time now is 23:58.