Internal coupling through a thin wall

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
J.Perez
Posts: 4
Joined: Tue May 28, 2019 2:52 pm

Internal coupling through a thin wall

Post by J.Perez »

Hello,

I have a question related to the internal coupling option.
I have defined a thin wall to separate two fluid domains, I would like to solve the conjugated heat transfer between the fluid domains through the thin wall. Notice that the thin wall has no thickness, it is just defined as an internal wall with the cs_user_mesh.c routine.
I 've tried to use the cs_user_parameters-base.c to define the intenal coupling, but as an argument it demands a solid volume criteria..
cs_internal coupling_add (NULL, "solid criteria", "interface criteria");

since I have no solid I dont know how to complete the instruction,

Any ideas?

thanks,
Yvan Fournier
Posts: 4221
Joined: Mon Feb 20, 2012 3:25 pm

Re: Internal coupling through a thin wall

Post by Yvan Fournier »

Hello,

Actually the volume does not need to be solid, only separate. It is solid in the example, not in the function documentation.

There is also another function to define a volume coupling simply be faces (if you have already added a thin wall): cs_internal_coupling_add (which also requires one of the volumes for location but does not create the thing wall).

Regards,

Yvan
J.Perez
Posts: 4
Joined: Tue May 28, 2019 2:52 pm

Re: Internal coupling through a thin wall

Post by J.Perez »

thanks Yvan

Apparently the coupling is working (at leatst for a few seconds..), as you said, I used the function:
cs_internal_coupling_add (NULL, fluid domain A, interface between A B)
I chose temperature as coupled field.

I was wondering how the conjugated heat transfer is solved in this case,
and, would it be possible to impose a heat transfer coefficient?

Thanks

Jorge
Yvan Fournier
Posts: 4221
Joined: Mon Feb 20, 2012 3:25 pm

Re: Internal coupling through a thin wall

Post by Yvan Fournier »

Hello,

In the current version, regular wall functions are used (and the coupling intervenes at all main levels of the solution: gradient reconstruction, flux balances, associated terms in the linear systems solved).

I do not think it is possible yet (a colleague may have a patch in the works for this, but it is not available yet).

Regards,

Yvan
Post Reply