Hi,
In order to calculate the modelled Reynolds stresses and shear stress I need to calculate the gradients du/dy,dvdx etc in version 2.1. However I want to calculate the gradient of the velocities that have been averaged i.e propce(1,ipcmom). Is it possible to just replace the variable iu (for example) with propce(1,ipcmom) in grdcel? (after defining ipcmom=ipproc(icmome(1))
I tried this and I get something out but i'm not sure if this is a valid or correct approach.
Cheers
Neil
using grdcel with averaged quantities
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: using grdcel with averaged quantities
Hello,
Yes, this seems correct to me. Some of grdcel's arguments are related to boundary conditions, so if you boundary conditions are time-dependent, there my be an issue here, but with constant boundary conditions, it should work. Another thing which might have some impact is periodicity of rotation: it there is such a periodicity in your case, some additional checks may be necessary, but otherwise, your result should be good.
Best regards,
Yvan
Yes, this seems correct to me. Some of grdcel's arguments are related to boundary conditions, so if you boundary conditions are time-dependent, there my be an issue here, but with constant boundary conditions, it should work. Another thing which might have some impact is periodicity of rotation: it there is such a periodicity in your case, some additional checks may be necessary, but otherwise, your result should be good.
Best regards,
Yvan