Hello,Luciano
Whether Code_Saturne can be achieved wo fluid modelling? The attachment is the user subroutine I mentioned earlier. I hope you can give me valuable advice.
Best wishes,
Helmut
free surface not moving
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 15
- Joined: Wed Oct 25, 2017 1:51 am
Re: free surface not moving
- Attachments
-
- cs_user_boundary_conditions_ale001.f90
- (7.48 KiB) Downloaded 206 times
-
- alelav.f90
- (8.77 KiB) Downloaded 205 times
-
- Posts: 284
- Joined: Fri Dec 04, 2015 1:42 pm
Re: free surface not moving
Hello,
In the "cs_user_boundary_conditions_ale001.f90" file you define "itypfb(ifac,ilelt) = ientre" and you fill all the icodcl and rcodcl arrays. As it is mentioned in the user documentation
I attach a case using this subroutine, I modify the values of some variables in order to used an existing mesh.
Results.
https://drive.google.com/open?id=1uxvG4 ... QmGDsKiFnZ
About multiphase flow, EDF has a specif solver called NEPTUNE, you can check the information in the code saturne web page. UPDATE(
Regards,
Luciano
UPDATE
You can check the following presentation
https://www.code-saturne.org/cms/sites/ ... covitz.pdf
In the "cs_user_boundary_conditions_ale001.f90" file you define "itypfb(ifac,ilelt) = ientre" and you fill all the icodcl and rcodcl arrays. As it is mentioned in the user documentation
So, you get an error during the execution. If you comment the line "itypfb(ifac,ilelt) = ientre", the BC is imposed correctly.In the case of standard boundary conditions (see §6.4.1), it is sufficient to complete itypfb(ifac)
and parts of the array rcodcl; the array icodcl and most of rcodcl are filled automatically. For
non-standard boundary conditions (see §6.4.2), the arrays icodcl and rcodcl must be fully completed.
I attach a case using this subroutine, I modify the values of some variables in order to used an existing mesh.
Results.
https://drive.google.com/open?id=1uxvG4 ... QmGDsKiFnZ
About multiphase flow, EDF has a specif solver called NEPTUNE, you can check the information in the code saturne web page. UPDATE(
Regards,
Luciano
UPDATE
You can check the following presentation
https://www.code-saturne.org/cms/sites/ ... covitz.pdf