Divergence of Velocity vector

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Mubashir Ali

Divergence of Velocity vector

Post by Mubashir Ali »

hi All,
 
I am simulating 3D Lid driven cavity and i wish to calculate if divergence of velocity vector is zero or not. i.e. (Del U = 0)
dimension of the geometry is (1X1X1) in meters and mesh 80X80X80 
 
your replies will be of great help to me
 
 
thnx
 
Mubashir
 
 
Alexandre Douce

Re: Divergence of Velocity vector

Post by Alexandre Douce »

Hello,
in order to compute a divergence, you may use the gradient subroutine (GRDCEL) three times in the subroutine usproj.f90.
Post Reply