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: Taataa
Forum: OpenFOAM February 1, 2018, 17:42
Replies: 11
Views: 3,120
Posted By Taataa
This is the way that I would declare velocity and...

This is the way that I would declare velocity and cell centers:

const volVectorField& U = mesh().lookupObject<volVectorField>("U");
const volVectorField& centers = mesh().C();
Regarding the...
Forum: OpenFOAM January 25, 2018, 23:43
Replies: 11
Views: 3,120
Posted By Taataa
You need to be more specific about your problem...

You need to be more specific about your problem if you want help.

Regarding the mesh not declared error you need use it like this:
mesh().C()
in the newer versions of OF.
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 20:40.