CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Finding Velocity and Pressure Gradients

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By bigfootedrockmidget

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2022, 12:49
Default Finding Velocity and Pressure Gradients
  #1
New Member
 
Join Date: Apr 2022
Posts: 3
Rep Power: 4
pandamaster9 is on a distinguished road
Hello all,
I am fairly new to SU2 and CFD in general and I wanted to ask how to compute gradients for velocity and pressure respectively in SU2 Incompressible RANS.

Thank you.
pandamaster9 is offline   Reply With Quote

Old   April 26, 2022, 02:39
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 501
Rep Power: 17
bigfootedrockmidget is on a distinguished road
Do you mean you would like to output and view the gradients? The gradients are not part of the output, so you have to compute them from velocity and pressure in e.g. paraview.

If you mean how we compute gradients for the discretization schemes, we do that with either Green-Gauss or weighted least squares:
Code:
% Numerical method for spatial gradients (GREEN_GAUSS, WEIGHTED_LEAST_SQUARES)
NUM_METHOD_GRAD= GREEN_GAUSS
%
% Numerical method for spatial gradients to be used for MUSCL reconstruction
% Options are (GREEN_GAUSS, WEIGHTED_LEAST_SQUARES, LEAST_SQUARES). Default value is
% NONE and the method specified in NUM_METHOD_GRAD is used.
NUM_METHOD_GRAD_RECON = LEAST_SQUARES
PENGGEGE777 and pandamaster9 like this.
bigfootedrockmidget is offline   Reply With Quote

Old   April 26, 2022, 04:42
Default
  #3
New Member
 
Join Date: Apr 2022
Posts: 3
Rep Power: 4
pandamaster9 is on a distinguished road
Thank you for the response. I have used a work around using finite difference from the solution files to find the gradients
pandamaster9 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import .csv - velocity profile - error eSKa CFX 9 April 3, 2021 13:38
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15
Variables Definition in CFX Solver 5.6 R P CFX 2 October 26, 2004 02:13
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13


All times are GMT -4. The time now is 13:25.