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 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: lr103476
Forum: OpenFOAM Running, Solving & CFD July 18, 2007, 09:01
Replies: 7
Views: 1,445
Posted By lr103476
thanks, totally clear! Fran

thanks, totally clear!

Frank
Forum: OpenFOAM Running, Solving & CFD July 18, 2007, 08:52
Replies: 7
Views: 1,445
Posted By lr103476
Perfectly clear, but one more

Perfectly clear, but one more thing.... I just remembered a piece of code which you showed at the lunch training in Zagreb (with const and a ref &):

const volVectorField& centres = mesh.C(); ...
Forum: OpenFOAM Running, Solving & CFD July 18, 2007, 08:32
Replies: 7
Views: 1,445
Posted By lr103476
Hi Hrv, I thought: 1) A

Hi Hrv,

I thought:

1) A reference &, since you don't want a real copy of the cell centres, only the right to have a look at it.

2) A const, since you're not allowed to change the...
Forum: OpenFOAM Running, Solving & CFD July 18, 2007, 08:09
Replies: 7
Views: 1,445
Posted By lr103476
the following should work:

the following should work:

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

Frank
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 18:47.