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

error on linearUpwind

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By wyldckat
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   May 22, 2013, 16:33
Default error on linearUpwind
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
what does mean this error when using linearUpwind instead of upwind?why can't use linearUpwind?
Code:
2]     in file /opt/openfoam220/src/finiteVolume/lnInclude/surfaceInterpolationScheme.C at line 82.
[2]
FOAM parallel run exiting
[2]

[0]
[0] --> FOAM FATAL IO ERROR:
[0] Unknown discretisation scheme linearUpwind

Valid schemes are :

42
(
CoBlended
Gamma
MUSCL
Minmod
OSPRE
QUICK
SFCD
SuperBee
UMIST
biLinearFit
blended
clippedLinear
cubic
cubicUpwindFit
downwind
filteredLinear
filteredLinear2
filteredLinear3
fixedBlended
limitWith
limitedCubic
limitedLinear
limiterBlended
linear
linearFit
linearPureUpwindFit
localBlended
localMax
localMin
midPoint
outletStabilised
pointLinear
quadraticFit
quadraticLinearFit
quadraticLinearUpwindFit
quadraticUpwindFit
reverseLinear
skewCorrected
upwind
vanAlbada
vanLeer
weighted
)
[0]
[0]
[0] file: /home/ehsan/Desktop/Central/nonUniformMesh/WR_Main_Central_172*10_nonMesh/processor0/../system/fvSchemes.divSchemes.div(tauMC) at line 55.
[0]
[0]     From function surfaceInterpolationScheme<Type>::New(const fvMesh&, Istream&)
[0]     in file /opt/openfoam220/src/finiteVolume/lnInclude/surfaceInterpolationScheme.C at line 82.
[0]
FOAM parallel run exiting
[0]
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 1 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun has exited due to process rank 3 with PID 10639 on
node Ehsan-com exiting without calling "finalize". This may
have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------
[Ehsan-com:10633] 3 more processes have sent help message help-mpi-api.txt / mpi-abort
[Ehsan-com:10633] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
Killing PID 10627
 PyFoam WARNING on line 232 of file /usr/local/lib/python2.7/dist-packages/PyFoam/Execution/FoamThread.py : Process 10627 was already dead 
Getting LinuxMem: [Errno 2] No such file or directory: '/proc/10627/status'
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   May 22, 2013, 17:56
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Ehsan,

Summarizing the error message:
Code:
Unknown discretisation scheme linearUpwind
...
system/fvSchemes.divSchemes.div(tauMC) at line 55.
...
surfaceInterpolationScheme<Type>::New(const fvMesh&, Istream&)
"tauMC" from "rhoCentralFoam" is a tensor field. AFAIK, "linearUpwind" is meant to be used with scalar and volume fields. Therefore, you can't use "linearUpwind" with "tauMC".

I could be (or probably am) wrong, but from the very little I know on this topic, not all fields need to be calculated using second order schemes for the simulation to be considered to be valid.

Best regards,
Bruno
immortality likes this.
wyldckat is offline   Reply With Quote

Old   May 22, 2013, 18:05
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
Hi Bruno
thanks.it resolved.is tauMC related to viscous terms or how can find its formula?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   May 22, 2013, 18:20
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Ehsan,

I ran this command inside one of your modified solvers:
Code:
grep "tauMC" *
Which gave me this:
Code:
rhoCentralFoamModified.C:        volTensorField tauMC("tauMC", muEff*dev2(Foam::T(fvc::grad(U))));
rhoCentralFoamModified.C:              - fvc::div(tauMC)
rhoCentralFoamModified.C:              + (mesh.Sf() & fvc::interpolate(tauMC))
So it's only a matter of opening the file and search for them from inside the text editor

Best regards,
Bruno
immortality likes this.
wyldckat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A few simple questions about linearUpwind and limitedLinear chegdan OpenFOAM 12 April 10, 2015 04:54
linearUpwind robdeb OpenFOAM 9 April 24, 2013 09:01
Why define a grad Scheme when using linearUpwind? Benedikt OpenFOAM Pre-Processing 1 June 25, 2012 08:54
rhoCentralFoam linearUpwind Andy_bm OpenFOAM Running, Solving & CFD 8 November 14, 2011 12:34
linearUpwind scheme in OpenFOAM 2.0.1 ??? cabul OpenFOAM 8 November 9, 2011 07:57


All times are GMT -4. The time now is 11:37.