|
[Sponsors] |
Upwind Gradient Not Recognizing surfaceScalarField |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 11, 2016, 13:15 |
Upwind Gradient Not Recognizing surfaceScalarField
|
#1 |
New Member
Majid Haghshenas
Join Date: May 2015
Posts: 5
Rep Power: 11 |
Hi all,
I'm trying to use first order upwind gradient that depends on a user defined surfaceScalarField for the upwinding direction. But I have problem where the solver does not recognize my user defined surfaceScalarField, "SSF", when I select the discretization scheme in the fvSchemes file. For instance, when I want to take gradient of some volScalarField, "psi", in my solver, I put Code:
grad(psi) Gauss upwind SSF; Where, as I mentioned above, "SSF" is my user defined field. If its relevant, It was initialized using: Code:
surfaceScalarField SSF ( IOobject ( "SSF", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE ), fvc::interpolate(alpha1) ); Code:
request for surfaceScalarField SSF from objectRegistry region0 failed available objects of type surfaceScalarField are 5 ( rhoPhi ghf phi nVecf nHatf ) Anyone knows how to define the SSF that would be recognized in the fvSchemes? |
|
May 13, 2016, 10:43 |
Problem Solved
|
#2 |
New Member
Majid Haghshenas
Join Date: May 2015
Posts: 5
Rep Power: 11 |
Problem is solved.
|
|
October 30, 2019, 11:58 |
What was the solution?
|
#3 |
New Member
Arpit
Join Date: Nov 2015
Posts: 3
Rep Power: 10 |
Hey, I'm running into the exact same issue. How did you fix it?
|
|
Tags |
bug, error, upwind gradient |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
question regarding LES of pipe flow - pimpleFoam | Dan1788 | OpenFOAM Running, Solving & CFD | 37 | December 26, 2017 14:42 |
Periodic flow using Cyclic - comparison with Fluent | nusivares | OpenFOAM Running, Solving & CFD | 30 | December 12, 2017 05:35 |
Implementation of 2nd order upwind scheme | jaason | OpenFOAM Running, Solving & CFD | 4 | February 6, 2015 17:40 |
2nd order upwind vs 2nd order upwind!!! | Far | Main CFD Forum | 7 | March 14, 2013 12:29 |
Second order upwind is not UPwind!!! | Far | CFX | 9 | May 31, 2011 08:21 |