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 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: hjasak
Forum: OpenFOAM Running, Solving & CFD July 18, 2007, 08:57
Replies: 7
Views: 1,443
Posted By hjasak
Easy. Have a look in the libr

Easy. Have a look in the library and find out what the return type is for a function mesh.C(). The file is fvMesh.H and the function signature is:


//- Return cell centres as...
Forum: OpenFOAM Running, Solving & CFD July 18, 2007, 08:42
Replies: 7
Views: 1,443
Posted By hjasak
All you said is correct, but y

All you said is correct, but you cannot decide on the return type: the function does that for you. Function signature says:


//- Return a component of the field
...
Forum: OpenFOAM Running, Solving & CFD July 18, 2007, 08:19
Replies: 7
Views: 1,443
Posted By hjasak
Close (the above was a memory

Close (the above was a memory violation):


volScalarField xPos = mesh.C().component(vector::X);

Hrv
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 22:00.