|
[Sponsors] |
April 25, 2022, 13:49 |
Finding Velocity and Pressure Gradients
|
#1 |
New Member
Join Date: Apr 2022
Posts: 3
Rep Power: 4 |
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. |
|
April 26, 2022, 03:39 |
|
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
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 |
|
April 26, 2022, 05:42 |
|
#3 |
New Member
Join Date: Apr 2022
Posts: 3
Rep Power: 4 |
Thank you for the response. I have used a work around using finite difference from the solution files to find the gradients
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Import .csv - velocity profile - error | eSKa | CFX | 9 | April 3, 2021 14:38 |
Neumann pressure BC and velocity field | Antech | Main CFD Forum | 0 | April 25, 2006 03:15 |
Variables Definition in CFX Solver 5.6 | R P | CFX | 2 | October 26, 2004 03:13 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |