Hello everybody,
I would like to model a simple duct closure/opening. For the moment the only solution I found is to set and modify a pressure loss in time at the closing/opening location.
This method unfortunately deos not take into account wall properties and I think a diffusion of my scalar still remain after closing the duct (only advection is stopped).
Do you have any idea to model this kind of scenario ?
It is possible to change an internal face to a wall boundary condition at a certain time of calculation and conversely ?
Thank you for your help
Regards
Cyril
Internal face to wall
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Internal face to wall
Hello,
Check for "thin walls" in cs_user_mesh.c (there may also be old references to this on this Forum)
Regards,
Yvan
Check for "thin walls" in cs_user_mesh.c (there may also be old references to this on this Forum)
Regards,
Yvan
Re: Internal face to wall
Hello Jacques,
I am working on a v2.0.4 of code_saturne.
Thank you for your answer. I think that it is what I need :
"The user subroutine cs_user_mesh_thinwall allows insertion of thin walls in the calculation mesh.
Currently, this subroutine simply transforms the selected internal faces into boundary faces, on which
boundary conditions can (and must) be applied"
But also I red on the manual that the routine cs_user_mesh_thinwall is only call during the initialisation.
I would like to transformthe selected internal faces into boundary faces of wall at a certain time of calculation.
Regards
Cyril
I am working on a v2.0.4 of code_saturne.
Thank you for your answer. I think that it is what I need :
"The user subroutine cs_user_mesh_thinwall allows insertion of thin walls in the calculation mesh.
Currently, this subroutine simply transforms the selected internal faces into boundary faces, on which
boundary conditions can (and must) be applied"
But also I red on the manual that the routine cs_user_mesh_thinwall is only call during the initialisation.
I would like to transformthe selected internal faces into boundary faces of wall at a certain time of calculation.
Regards
Cyril
Re: Internal face to wall
Hi again Yvan (sorry for called you Jacques...)
I another question : is it possible to do a restart of a calculation in which I define a thin wall ?
I mean : do a first calculation with a mesh and then implement my thin wall in it for a restart ?
regards
cyril
I another question : is it possible to do a restart of a calculation in which I define a thin wall ?
I mean : do a first calculation with a mesh and then implement my thin wall in it for a restart ?
regards
cyril
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Internal face to wall
Hello,
No, this is a post-processing step (changing the mesh), and can not be changed during calculation.
You might (no guarantee) be able to change it after a restart, but only if you deactivate reading of auxiliary restart files (ileaux = 0 in cs_user_parameters.f90 without the GUI, or Restart/Advanced options with the GUI).
Regards,
Yvan
No, this is a post-processing step (changing the mesh), and can not be changed during calculation.
You might (no guarantee) be able to change it after a restart, but only if you deactivate reading of auxiliary restart files (ileaux = 0 in cs_user_parameters.f90 without the GUI, or Restart/Advanced options with the GUI).
Regards,
Yvan