Page 1 of 1

Computing the output of velocity gradient

Posted: Tue Jul 19, 2016 4:02 pm
by Clement
Hello,

I wish to compute the output of the instantaneous velocity gradient but so far I couldn't find a way to obtain it.

I tried to compute something similar to the "extract 1D profile" example in order to write in a file the values of the gradient at every time step, but I can't find a way to use correctly the field_gradient_vector subroutine, which is I think what I need. I am getting memory error messages.

So if someone has already tried this, or just already used succesfully the subroutine, I will be very thankful to obtain some help.

I am running on version 4.0.5, in parallel on a PBS cluster.

Best regards,
Clement

Re: Computing the output of velocity gradient

Posted: Wed Jul 20, 2016 1:41 am
by Yvan Fournier
Hello,

The function you mention should works, so you probably have a minor programming error in your user subroutines.

Regards,

Yvan

Re: Computing the output of velocity gradient

Posted: Wed Jul 20, 2016 11:15 am
by Clement
Hello,

Indeed I made a mistake using ncel instead of ncelet...

Thank you for your quick reaction and sorry for the inconvenience.

Best regards,
Clement