define the boundary conditions of the interfaces with ICEM

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
HelmutZhang
Posts: 15
Joined: Wed Oct 25, 2017 1:51 am

define the boundary conditions of the interfaces with ICEM

Post by HelmutZhang »

Hello everyone,

I am a fresh hand of using this software.Now i want to use C_S to simulate a water turbine.This machine is just like a wind turbine.I don't know how to define the boundary conditions of the interfaces with ICEM.As is shown in the picture.the face 1 2 3 is the interfaces belong to rotor and stator,so each of them have two same face(1 and 1s,2 and 2s ,3 and 3s).so my question is how to define interfaces with ICEM.

Best regards,
Helmut
Attachments
interface.png
rodion
Posts: 98
Joined: Wed Jan 11, 2017 4:13 pm

Re: define the boundary conditions of the interfaces with IC

Post by rodion »

Hi Helmut,

I am not sure if my reply is appropriate and I have no idea about the dynamic meshes. But maybe you can create in ICEM
1. internal surface separating the zones corresponding to the rotor and the stator
2. parts for groups of cells (rotor and stator)
3. part for the group of faces associated with the internal surface

Then using the function cs_user_internal_coupling_add_volumes (file cs_user_parameters.c) you can separate one group of cells corresponding to the rotor for example. This group of cells will be separated from the rest of the domain using automatically defined thin walls with double boundary surface. For these thin walls you will need to impose your custom boundary conditions for thermal coupling (temperature or heat flux).

I hope this can help you.

Best regards,
Rodion
HelmutZhang
Posts: 15
Joined: Wed Oct 25, 2017 1:51 am

Re: define the boundary conditions of the interfaces with IC

Post by HelmutZhang »

rodion wrote:Hi Helmut,

I am not sure if my reply is appropriate and I have no idea about the dynamic meshes. But maybe you can create in ICEM
1. internal surface separating the zones corresponding to the rotor and the stator
2. parts for groups of cells (rotor and stator)
3. part for the group of faces associated with the internal surface

Then using the function cs_user_internal_coupling_add_volumes (file cs_user_parameters.c) you can separate one group of cells corresponding to the rotor for example. This group of cells will be separated from the rest of the domain using automatically defined thin walls with double boundary surface. For these thin walls you will need to impose your custom boundary conditions for thermal coupling (temperature or heat flux).

I hope this can help you.

Best regards,
Rodion
Hi Rodion,

Thank you for your reply. But i define the rotation domain using the body and after C_S solver in paraview, the rotations don't rotate. I don't know where the mistake is.

Best regards,
Helmut
Yvan Fournier
Posts: 4209
Joined: Mon Feb 20, 2012 3:25 pm

Re: define the boundary conditions of the interfaces with IC

Post by Yvan Fournier »

Hello,

Not sure whether this is automatically set or not, but with time-varying meshes, you may need to indicate the the output writer is time-varying in the computation control/output/writers section (EnSight Format is recommended here).

Best regards,

Yvan
HelmutZhang
Posts: 15
Joined: Wed Oct 25, 2017 1:51 am

Re: define the boundary conditions of the interfaces with IC

Post by HelmutZhang »

Yvan Fournier wrote:Hello,

Not sure whether this is automatically set or not, but with time-varying meshes, you may need to indicate the the output writer is time-varying in the computation control/output/writers section (EnSight Format is recommended here).

Best regards,

Yvan
Hello Yvan,

I'm not sure I'm setting this right. I upload my Settings file. Can you give me some advice?

Best regards,
Helmut
Attachments
files.rar
(1.67 MiB) Downloaded 219 times
Yvan Fournier
Posts: 4209
Joined: Mon Feb 20, 2012 3:25 pm

Re: define the boundary conditions of the interfaces with IC

Post by Yvan Fournier »

Hello,

No, it seems your mesh definition does not include the required option.

In "Calculation environment/Meshes selection/Meshes/list of Meshes" set the "add face groups" and "add cell groups" option to "section" for meshes generated by ICEM.

Best regards,

Yvan
Post Reply