Fixed issue with volume in triangles
The right value in 2D Cartesian is used for calculating the volume.
This commit is contained in:
parent
3d7b1ce476
commit
55e062a9ef
2 changed files with 3 additions and 3 deletions
|
|
@ -968,9 +968,9 @@ MODULE moduleInput
|
|||
!Read the 0D mesh
|
||||
CALL mesh%readMesh(pathMeshParticle)
|
||||
|
||||
!Get the volumne
|
||||
!Get the volume
|
||||
CALL config%get(object // '.volume', volume, found)
|
||||
!Rescale the volumne
|
||||
!Rescale the volume
|
||||
IF (found) THEN
|
||||
mesh%cells(1)%obj%volume = mesh%cells(1)%obj%volume*volume / Vol_ref
|
||||
mesh%nodes(1)%obj%v = mesh%cells(1)%obj%volume
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue