Thanks for your replay Alex. I have already checked both the .xml file and the presentation of A. Tafuni, but I'm quite confused on how to properly apply a fixed value of density at the boundary.
For my understanding this is only the setting to enable fixed rhop at the boundary. My question is what is the correct "missing" part of the code to impose the density. I'm trying with some like that:
Thanks for your replay Alex. I have already checked both the .xml file and the presentation of A. Tafuni, but I'm quite confused on how to properly apply a fixed value of density at the boundary.
For my understanding this is only the setting to enable fixed rhop at the boundary. My question is what is the correct "missing" part of the code to impose the density. I'm trying with some like that:
I've been using Inlet as well and I was wondering in which case setting the density should be done. Even though this is weakly compresible SPH, it seems strange to me.
Comments
You can check all options that can be imposed in doc/xml_format/_FmtXML_InOut.xml
And more information can be found here: http://dual.sphysics.org/4thusersworkshop/data/_uploaded/PDF_Talks_4thWorkshop/Tafuni_Lisbon2018.pdf
I have already checked both the .xml file and the presentation of A. Tafuni, but I'm quite confused on how to properly apply a fixed value of density at the boundary.
On the .xml file I found this:
-----------------------------------------------------------------------------------------------------------------------------
Rhop definitions ***
Fixed Constant rhop
imposerhop mode="0" comment="Outlet rhop 0:Imposed fixed value, 1:Hydrostatic, 2:Extrapolated from ghost nodes (default=0)"
imposerhop
-----------------------------------------------------------------------------------------------------------------------------
For my understanding this is only the setting to enable fixed rhop at the boundary.
My question is what is the correct "missing" part of the code to impose the density.
I'm trying with some like that:
-----------------------------------------------------------------------------------------------------------------------------
imposerhop mode="0" comment="Outlet rhop 0:Imposed fixed value, 1:Hydrostatic, 2:Extrapolated from ghost nodes (default=0)"
rhop value="1517" comment="Characteristic inlet rhop (default=1000)" units_comment="kg/m^2"
imposerhop
-----------------------------------------------------------------------------------------------------------------------------
Is it correct or not ?
Thanks for your help
I have already checked both the .xml file and the presentation of A. Tafuni, but I'm quite confused on how to properly apply a fixed value of density at the boundary.
On the .xml file I found this:
-----------------------------------------------------------------------------------------------------------------------------
Rhop definitions ***
Fixed Constant rhop
imposerhop mode="0" comment="Outlet rhop 0:Imposed fixed value, 1:Hydrostatic, 2:Extrapolated from ghost nodes (default=0)"
imposerhop
-----------------------------------------------------------------------------------------------------------------------------
For my understanding this is only the setting to enable fixed rhop at the boundary.
My question is what is the correct "missing" part of the code to impose the density.
I'm trying with some like that:
-----------------------------------------------------------------------------------------------------------------------------
imposerhop mode="0" comment="Outlet rhop 0:Imposed fixed value, 1:Hydrostatic, 2:Extrapolated from ghost nodes (default=0)"
rhop value="1517" comment="Characteristic inlet rhop (default=1000)" units_comment="kg/m^2"
imposerhop
-----------------------------------------------------------------------------------------------------------------------------
Is it correct or not ?
Thanks for your help
I've been using Inlet as well and I was wondering in which case setting the density should be done. Even though this is weakly compresible SPH, it seems strange to me.
Thanks