CFD Online Logo CFD Online URL
Home > Forums


Register Blogs Members List Search Today's Posts Mark Forums Read

Uncategorized Entries with no category

Accessing internal field and mesh from within boundary condition

Posted August 6, 2016 at 07:00 by kaifu

very useful.
Originally Posted by mchurchf View Post
Thank you all for your help,

I was able to implement my boundary condition as well. I used the following code to access the internal velocity field and the mesh two layers of cells inward from the boundary:

//  Set up access to the internal velocity field and mesh
    const volVectorField& U =
    const fvMesh& mesh = patch().boundaryMesh().mesh();
Posted in Uncategorized
Views 1062 Comments 0 kaifu is offline Edit Tags

All times are GMT -4. The time now is 13:44.