Page 1 of 2

Tube heat enchange

Posted: Sat Mar 05, 2022 4:12 pm
by psicofil
Hello I am trying to run a case of a tube that receives a flow of heat and is cooled by a fluid (a heat exchanger). I attach an image of the case I want to simulate. Reading the user guide (version 7.1), I understand that it can be done in code_saturne with the Internal Fluid-Thermal coupling option. I have followed the steps of the guide but it is not clear to me how to configure the mesh and the border conditions of my model.

I attach the model to see if you can contribute or give me advice

Thank you very much for the help
Excuse my bad English, greetings.

Re: Tube heat enchange

Posted: Mon Mar 07, 2022 11:35 am
by Yvan Fournier
Hello,

In the code_saturne GUI; you need to define a volume zone based on the "Solid" group selection criterion (based on the groups present in your mesh), and in the "Volume zones" section check the "solid" box for the zone. The internal coupling feature should then be available.

Regards,

Yvan

Re: Tube heat enchange

Posted: Wed Sep 21, 2022 2:24 pm
by jacob
Hello,
I am trying to simulate something similar, but I cannot prescribe physical properties for the fluid domain.

Also, there is no option for solid-fluid interface.

Re: Tube heat enchange

Posted: Wed Sep 21, 2022 2:24 pm
by jacob
files

Re: Tube heat enchange

Posted: Thu Sep 22, 2022 12:49 am
by Yvan Fournier
Hello,

This may be a minor bug. What is usually done is to define the fluid physical properties for the default "all cells" volume zone, and the solid physical properties for the solid zone. In this case, you can "uncheck" the "physical properties" box for the fluid zone, and check the one for "all cells".

Let's see if that works.

Regards,

Yvan

Re: Tube heat enchange

Posted: Thu Sep 22, 2022 6:25 am
by jacob
Thanks for reply.

And how do I prescribe coupling between fluid_solid boundaries? Is it enough just have merged mesh or use face joining?

Also, why the rough wall option is greyed out?

Why there is no option for "steady state" soluton? Code_saturne calculates only transient?

Re: Tube heat enchange

Posted: Thu Sep 22, 2022 11:33 pm
by Yvan Fournier
Hello,

You need to visit the "Coupling Parameters" page, "Internal Coupling" tab, and check "couple scalar in solid zones" for the temperature.

The rest is automatic: the mesh is subdivided automatically along the fluid-solid boundary, and default wall laws are applied.

Default boundary groups are also created ("auto:internal_coupling_0_fluid" and "auto:internal_coupling_0_solid" if I remember correctly, but you can check in the run_solver.log after a first test.) Using those, if necessary, you can define mesh boundary zones to apply additional settings. This is useful for example to indicate surface properties for radiation.
But in the common/simple case, you do not need this.

Finally,

- you have nor "rough wall" option because this is related to turbulence modelling, and you are not using a turbulence model.

- There is no "true" steady model in code_saturne, but a "pseudo-steady" option which you seem to have activated. There have been other attempts at steady models, but they were less robust (there is actually one in the CDO modeling, but this is not in the GUI yet). The pseudo-steady model provides a steady-state result, not interpretable as a transient, but you may need to use probes in addition to checking residuals to really check for convergence (we do not use automatic convergence criteria, as those are not always reliable when there is even a bit of "jitter' in the solution).

Best regards,

Yvan

Re: Tube heat enchange

Posted: Fri Sep 23, 2022 5:11 pm
by jacob
Well I checked couple scalar in solid zones, but until I used joining faces in mesh tab, there was no heat transfer.

But I have no option rough wall even if I tick turbulence.

Ok but coudn't I enter some very small value for specific heat capacity to obtain steady state solution faster?
If I try that for solids it works, for fluids it gives nonesence.

Re: Tube heat enchange

Posted: Sun Sep 25, 2022 10:12 pm
by Yvan Fournier
Helko,

You idea of entering a small value for Cp is actually very similar to thev "time step factor" option under "Numerical Parameters/Equation parameters" in the GUI.

So either of those options should work.

Best regards,

Yvan

Re: Tube heat enchange

Posted: Mon Sep 26, 2022 9:55 am
by jacob
Well, I am no able to put any value in time step factor.