Search found 7 matches

by hsnu1137
Sun May 30, 2021 4:46 pm
Forum: code_saturne usage
Topic: Example for Dam breaking
Replies: 10
Views: 5727

Re: Example for Dam breaking

Thank you Luciano. I have downloaded your cavitation case about two days ago, but I was unaware that the case is related to the complete solution of VoF, including the setting for inlet/outlet. Indeed, I used VoF to simulate the flow of viscous fluid as the first step. In the end, I would like to ap...
by hsnu1137
Sun May 30, 2021 11:09 am
Forum: code_saturne usage
Topic: Example for Dam breaking
Replies: 10
Views: 5727

Re: Example for Dam breaking

By the way, I encountered the same problem as the post https://www.code-saturne.org/forum/viewtopic.php?p=15275 while adding an inlet. @ At least one boundary face declared as inlet (or @ outlet) with prescribed velocity with an entering @ flow for which the value of void_fraction has not been @ spe...
by hsnu1137
Sun May 30, 2021 10:04 am
Forum: code_saturne usage
Topic: Example for Dam breaking
Replies: 10
Views: 5727

Re: Example for Dam breaking

For those interested in the Homogeneous Eulerian VoF/Volume of fluid method, I may share some simple steps here. First in GUI: Select Homogeneous Eulerian VoF in Claculation features Assign Gravity in Body forces Assign Density&Viscosity of the two fluids (fully filled with μ1 means: void fracti...
by hsnu1137
Sun May 30, 2021 6:09 am
Forum: code_saturne usage
Topic: Example for Dam breaking
Replies: 10
Views: 5727

Re: Example for Dam breaking

Thank you Luciano for pointing out my mistake. Your answer indeed solved the problem. I am quite excited now :D I reproduced the mistake because I copied the getcel example directly from the PDF practical user's guide (3.9.4 Using selection criteria in user subroutines) without through checking. Any...
by hsnu1137
Sun May 30, 2021 3:56 am
Forum: code_saturne usage
Topic: Example for Dam breaking
Replies: 10
Views: 5727

Re: Example for Dam breaking

Hello, Thank you again for the reply. The SRC still failed with a Syntax error in argument list after adding use cs_c_bindings in the Module files section. use cs_c_bindings integer nvar , nscal integer nlelt , iel, iel2nd double precision dt(ncelet) integer, allocatable, dimension(:) :: lstelt doub...
by hsnu1137
Sat May 29, 2021 4:39 pm
Forum: code_saturne usage
Topic: Example for Dam breaking
Replies: 10
Views: 5727

Re: Example for Dam breaking

Dear Yvan, Thank you for the rapid reply. I found the clue to go on after a more detailed search of the recent post. I have found the key info from a post in 2019. https://www.code-saturne.org/forum/viewtopic.php?p=13658 In the post, Luciano pointed out that To activate VOF you have to set the varia...
by hsnu1137
Fri May 28, 2021 5:01 pm
Forum: code_saturne usage
Topic: Example for Dam breaking
Replies: 10
Views: 5727

Example for Dam breaking

Hi, I am sort of new to Code Saturne, though I have finished some simple simulation of non-Newtonian simulation in axisymmetric tube by modifying the SRC. I have wandered for several days on the internet in the search for possible tutorial/information/example of Dam Breaking or material slumping wit...