Cavity with Internal Solid Cylinder
I'm modelling a water filled cavity with a heated central cylinder.
I've created geometry as shown below https://i.imgur.com/CIi43XH.png I've done this by creating the outer cavity, and then an inner cylinder block. Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
/*--------------------------------*- C++ -*----------------------------------*\ |
You need to define the boundary between the cylinder and the surroundings as wall or patch and give boundary conditions.
|
Quote:
Code:
defaultFaces Code:
boundaryField |
I don't recommend to use defaultFaces. Give the boundary a name and set the condition. Then you know for sure everything is ok.
|
I've changed the face name to "Core" for all boundary conditions but the problem remains.
The interior wall of the Cylinder is heating the internal volume (I don't care what happens in this space), while the exterior isn't heating the surrounding air filled cavity. |
Now I understand.
A patch has only one direction, because the other side is thought to be the boundary of the domain to be computed. To define it for two adjacent regions you have to note the patches twice, with an alternativ counting of nodes. |
So how do I reverse the direction so the cylinder becomes outward facing, and computation occurs between the cavity/cylinder.
Thank you very much for your help so far! |
If you don't need the region inside the cylinder you should not mesh it but let it empty.
|
That result in a blockMesh error?
Code:
Creating topology blocks |
All times are GMT -4. The time now is 20:43. |