CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   regionProperties and Meshes (http://www.cfd-online.com/Forums/openfoam-programming-development/114648-regionproperties-meshes.html)

PEM_GUY March 14, 2013 17:44

regionProperties and Meshes
 
I modified the regionProperties and created a new user file that has two lists:

transport1

and

transport2

I have a domain of three blocks: left, middle, and right

I want blocks left and middle to participate in "transport1" and blocks middle and right to participate in "transport2"

all of my test cases work right up to the point where I have the following:

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
transportoneRegionNames (left middle);
transporttwoRegionNames (middle right);
// ************************************************** *********************** //

it appears that an entry cannot be doubly defined in these lists.

My impression was always that because I make a mesh, splitMeshRegions, and then in the solver have createMesh for transportone and createMesh for transporttwo -- that I had two independent meshes.

I have tried this several ways - and the errors range from the solution not being written or the last error linked to the case above where "middle" does not have any transport properties retained for transporttwo.

Does anyone know if you can have multiple entries into these lists and if the chtMultiRegion example actually creates multiple meshes or just pointers to a single mesh?

Thanks!


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