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
|
|
@ -577,7 +577,7 @@ MODULE moduleMesh2DCart
|
|||
fPsi = self%fPsi(Xi, 4)
|
||||
|
||||
!Compute total volume of the cell
|
||||
self%volume = detJ*4.D0/L_ref
|
||||
self%volume = detJ*4.D0
|
||||
!Compute volume per node
|
||||
self%n1%v = self%n1%v + fPsi(1)*self%volume
|
||||
self%n2%v = self%n2%v + fPsi(2)*self%volume
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue