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.00 seconds.
Search: Posts Made By: akidess
Forum: OpenFOAM Programming & Development July 16, 2012, 11:26
Replies: 4
Views: 1,054
Posted By akidess
Ok, so I still do not fully understand whats...

Ok, so I still do not fully understand whats happening with the references, but I do now see that I was doing something very stupid :o

mesh.C().component(N) gives back a tmp field, which is...
Forum: OpenFOAM Programming & Development July 16, 2012, 10:32
Replies: 4
Views: 1,054
Posted By akidess
Thanks for digging in the code for me, I should...

Thanks for digging in the code for me, I should have done that myself as a first step. The method returns "const Cmpt& v_[d];", which is part of the array "Cmpt v_[nCmpt];". I think it's not possible...
Forum: OpenFOAM Programming & Development July 16, 2012, 07:38
Replies: 4
Views: 1,054
Posted By akidess
Odd problem with reference to cell centres

Hello all, suppose I have the following code


volScalarField ypos = mesh.C().component(1);
volScalarField xpos = mesh.C().component(0);

Info << ypos.internalField() << endl;
Info <<...
Showing results 1 to 3 of 3

 
Forum Jump

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