CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

upwind scheme for grad and div

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2020, 04:55
Default upwind scheme for grad and div
  #1
New Member
 
Yujuan Luo
Join Date: Jul 2019
Posts: 21
Rep Power: 6
Yujuan is on a distinguished road
Hi all,


I want to use upwind scheme for gradient of a volScalarField X and also for the divergence for a volVectorField Y. However, when I set grad(X) Gauss upwind, I just get the error attempt to read beyond EOF, and it is the same with div(Y).


So I want to know how to set upwind scheme for grad(volScalarField) and div(volVectorField) properly? Thanks a lot!
Yujuan 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
How to use "translation" in solidBodyMotionFunction in OpenFOAM rupesh_w OpenFOAM Running, Solving & CFD 5 August 16, 2016 04:27
simpleFoam: case only converges with most div schemes set to upwind buffi OpenFOAM Running, Solving & CFD 7 November 11, 2013 07:54
problem with an upwind div scheme giack OpenFOAM Running, Solving & CFD 4 June 21, 2013 03:26
Wrong fvm::div assembling santiagomarquezd OpenFOAM Bugs 90 December 27, 2010 12:54
solution diverges when linear upwind interpolation scheme is used subash OpenFOAM 0 May 29, 2010 01:23


All times are GMT -4. The time now is 02:36.