Hello,
I am using Salome CFD 8.5 for Scibian
I am trying to do a coupling of an heatrod (2 solids) inside a cylinder full of air
When I do some tests only on Syrthes, I succeed to simulate the volumetric source term inside the first solid of the heatrod (the wire) (despite I had some difficulties here too)
But when I do a coupling calculation, this volumetric source term is no longer took into account
Could you check if I am doing it right ?
Thank you very much
Jeremy
Volumetric source term missing - Syrthes/CS coupling
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Volumetric source term missing - Syrthes/CS coupling
- Attachments
-
- setup.syd.log
- (3.34 KiB) Downloaded 284 times
-
- Mesh_FLUID_42x300.med
- (1.95 MiB) Downloaded 299 times
-
- CompoundHeatrod.med
- (454.5 KiB) Downloaded 294 times
Last edited by JeremyA on Wed Dec 11, 2019 8:46 am, edited 2 times in total.
Re: Volumetric source term missing - Syrthes/CS coupling
Here's more files
- Attachments
-
- listingSolid.log
- (4.02 MiB) Downloaded 297 times
-
- listingFluid.log
- (5.53 MiB) Downloaded 316 times
-
- setup.xml
- (10.19 KiB) Downloaded 307 times
Re: Volumetric source term missing - Syrthes/CS coupling
I think I have just understood where the issue is :
my system is 2D axisymmetric
When I impose a Surfacic flux or Volumetric source term by using Syrthes alone, I got no issue
But if I want to do the same in coupling calculation, they are no longer took into account
Do you know why and how I can avoid this issue ?
Best regards
Jeremy
my system is 2D axisymmetric
When I impose a Surfacic flux or Volumetric source term by using Syrthes alone, I got no issue
But if I want to do the same in coupling calculation, they are no longer took into account
Do you know why and how I can avoid this issue ?
Best regards
Jeremy
-
- Posts: 4207
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Volumetric source term missing - Syrthes/CS coupling
Hello,
If you are doing a volumic coupling, you need to define it in code_saturne using a user subroutine (see cs_user_coupling.c and associated examples), as the GUI only allows the definition of surface coupling (and using a 2D projection, a surface is considered a volume in the "original" space).
You did not post any user subroutines. Are you missing this part of the setup ?
Regards,
Yvan
If you are doing a volumic coupling, you need to define it in code_saturne using a user subroutine (see cs_user_coupling.c and associated examples), as the GUI only allows the definition of surface coupling (and using a 2D projection, a surface is considered a volume in the "original" space).
You did not post any user subroutines. Are you missing this part of the setup ?
Regards,
Yvan
Re: Volumetric source term missing - Syrthes/CS coupling
I think I have a surfacic coupling, between the heatrod and the fluid, right ?
In Salome, my Solid is 2D and my fluid domain is 3D with 1 cell size following Oz
What is the difference between surfacic and volumic coupling btw ?
Thank you
Jeremy
In Salome, my Solid is 2D and my fluid domain is 3D with 1 cell size following Oz
What is the difference between surfacic and volumic coupling btw ?
Thank you
Jeremy
-
- Posts: 4207
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Volumetric source term missing - Syrthes/CS coupling
Hello,
Volumic coupling is used for volumes that are both fluid and solid (i.e. zones with some form of porosity or cluttered regions, containing both fluid and solid portions, at a level of detail smaller than the mesh resolution).
Surface coupling is used for the classical cases where a surface separated the fluid an solid parts.
When going from 3D to 2D, (i.e. projecting to a 2D surface), the logic is the same, but volumes become surfaces, surfaces become edges.
Regards,
Yvan
Volumic coupling is used for volumes that are both fluid and solid (i.e. zones with some form of porosity or cluttered regions, containing both fluid and solid portions, at a level of detail smaller than the mesh resolution).
Surface coupling is used for the classical cases where a surface separated the fluid an solid parts.
When going from 3D to 2D, (i.e. projecting to a 2D surface), the logic is the same, but volumes become surfaces, surfaces become edges.
Regards,
Yvan
Re: Volumetric source term missing - Syrthes/CS coupling
So I have a surfacic coupling for my case
But volumetric source term or surfacic flux in Syrthes are not took into account when I try coupling
In regards to the files i sent to you, do you have any suggestion to solve this problem ?
Thank you very much
Jeremy
But volumetric source term or surfacic flux in Syrthes are not took into account when I try coupling
In regards to the files i sent to you, do you have any suggestion to solve this problem ?
Thank you very much
Jeremy
-
- Posts: 4207
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Volumetric source term missing - Syrthes/CS coupling
Hello,
I do not know if you used the correct groups for Syrthes. The groups in the solid mesh seem strange, and a little complex relative to a simple mesh, but I assume the Ext_cera group matches the "Int" fluid faces.
Since the Syrthes tools provide a mapping from group names (or family ids) to Syrthes "colors" in a separate file, I would need to check that file to be sure. Could you post that ?
Regards,
Yvan
I do not know if you used the correct groups for Syrthes. The groups in the solid mesh seem strange, and a little complex relative to a simple mesh, but I assume the Ext_cera group matches the "Int" fluid faces.
Since the Syrthes tools provide a mapping from group names (or family ids) to Syrthes "colors" in a separate file, I would need to check that file to be sure. Could you post that ?
Regards,
Yvan
Re: Volumetric source term missing - Syrthes/CS coupling
Hello Yvan,
actually I understood one part of my issue :
time step for natural convection is very low, and strangely my heatrod needs 3 hours to heat (radius <0.01 m)
So to do coupling, I have to do a lot of iterations with a minimal time step, and I haven't done that yet
That explains my issue
To solve it, I do a first coupling calculation with a large time step (10s) to let my heatrod heating
Then I restart the simulation with a low time step for natural convection
It's working
HOWEVER, I don't understand why it is needed 3 hours for my heatrod to heat ...
Could you check that pls ?
Thank you
Jeremy
actually I understood one part of my issue :
time step for natural convection is very low, and strangely my heatrod needs 3 hours to heat (radius <0.01 m)
So to do coupling, I have to do a lot of iterations with a minimal time step, and I haven't done that yet
That explains my issue
To solve it, I do a first coupling calculation with a large time step (10s) to let my heatrod heating
Then I restart the simulation with a low time step for natural convection
It's working
HOWEVER, I don't understand why it is needed 3 hours for my heatrod to heat ...
Could you check that pls ?
Thank you
Jeremy