Laplacian calculation
Posted: Fri Mar 25, 2011 7:30 pm
Hi everyone,
My question is about the calculation of the Laplace operator of a scalar or a vector with Code_Saturne. I am driven by the need to construct a dynamical system in Code_Saturne kernel (I'm still working with Code_Saturne v.1.3.3).
Thus, I have to calculate gradients, for which I just use calls to GRDCEL, and Laplacians. For the latter, I cannot use the composition of (INIMAS & DIVMAS ( GRDCEL) ), since this composition of two approximated operators gives erroneous approximations : the continuous definition of the Laplacian = DIV(GRAD( . )) is not true while using this double approximation.
The routine BILSC2.F seems to be more adapted to my need, but I'm not sure to what extent I can use it. I also have to precise that I would use it just at the first time of my calculation.
Did anybody have to calculate Laplacian with Code_Saturne 1.3.3 ? If yes, did you use this routine or another ? The management of the various entries seems to be far from easy for a non time-dependant calculation ...
Any answer would help !
Best regards,
Marie Pomarède
My question is about the calculation of the Laplace operator of a scalar or a vector with Code_Saturne. I am driven by the need to construct a dynamical system in Code_Saturne kernel (I'm still working with Code_Saturne v.1.3.3).
Thus, I have to calculate gradients, for which I just use calls to GRDCEL, and Laplacians. For the latter, I cannot use the composition of (INIMAS & DIVMAS ( GRDCEL) ), since this composition of two approximated operators gives erroneous approximations : the continuous definition of the Laplacian = DIV(GRAD( . )) is not true while using this double approximation.
The routine BILSC2.F seems to be more adapted to my need, but I'm not sure to what extent I can use it. I also have to precise that I would use it just at the first time of my calculation.
Did anybody have to calculate Laplacian with Code_Saturne 1.3.3 ? If yes, did you use this routine or another ? The management of the various entries seems to be far from easy for a non time-dependant calculation ...
Any answer would help !
Best regards,
Marie Pomarède