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

which tutorial can find that include Riemann boundary condition?

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

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   April 19, 2013, 13:08
Default which tutorial can find that include Riemann boundary condition?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 15
immortality is on a distinguished road
I found this in:compressible flow in turbocharger
Code:
Riemann
{
    secondOrder no;            // activate 2nd order extensions
    multidimLimiter yes;        // Switch between 1D and mutliD limiters
    epsilon 5;                // VK constant
    limiterName vanAlbadaSlope; // vanAlbadaSlope, MinmodSlope, vanLeerSlope
}
but nothing in OF code or tutorials.
is there this BC in OF?
immortality is offline   Reply With Quote

Old   April 19, 2013, 17:55
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 6,983
Blog Entries: 32
Rep Power: 68
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Hi Ehsan,

From what I managed to find out, you're probably out of luck, because the code needed is still off-line, due to ANSYS' behaviour against the Extend project... Here's what I found out:
  1. I Googled for:
    Code:
    Rie*man* "OpenFOAM"
    This was just in case "Riemann" was misspelled...
  2. On the top searches, this paper popped up: https://online.tugraz.at/tug_online/...&pCurrPk=66974
  3. Searched for Riemann and saw that it was referencing:
    Quote:
    Borm, O., Jemcov, A., and Kau, H.-P., 2011. “DensityBased Navier Stokes Solver for Transonic Flows”. In 6th
    OpenFOAM Workshop, PennState University, USA.
  4. I then went to the current workshops repository and found the presentation in question: http://sourceforge.net/projects/open...s.pdf/download
  5. It mentions that the "Riemann" related source code is part of the "DensityBasedTurbo" solvers... which are located at:
    Code:
    git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/DensityBasedTurbo
    Which is unfortunately still completely and utterly off-line
  6. I went back to the thread you mentioned and went back a few posts: compressible flow in turbocharger - post #13
  7. It seems to confirm my findings... which isn't the best news... and in case you're wondering, someone has already asked about them here: densityBasedTurbo
Best regards,
Bruno
immortality likes this.
wyldckat is offline   Reply With Quote

Old   April 20, 2013, 05:28
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 15
immortality is on a distinguished road
what a brilliant step by step search!
thanks for resources.
I only want to know how Riemann invarient boundary condition is performed in the code and I don't need to execute it directly.in fact I want to write it (by modification I need because it should change with time) in groovyBC.
really say I have found and have written a riemann BC I found in an help file of a software in groovyBC but I want to be certain that its correct and its the same that is used in OpenFOAM.
then its sufficient to me to have a text code of this BC.(.C and .H)
can it be found out of the executive code?

and also where can I find current workshops repository?in openfoamwiki.net?

Last edited by immortality; April 20, 2013 at 13:42.
immortality is offline   Reply With Quote

Old   April 20, 2013, 13:36
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 6,983
Blog Entries: 32
Rep Power: 68
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Like I said, the source code for it is currently offline.
Quote:
Originally Posted by immortality View Post
and also where can I current workshops repository?in openfoamwiki.net?
The entry point I've used: http://sourceforge.net/projects/open...OAM_Workshops/
But I know there's an official one somewhere... check the news sub-forum for the OFW7 workshop and you should be able to find the official link.
wyldckat is offline   Reply With Quote

Old   May 2, 2013, 16:27
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 6,983
Blog Entries: 32
Rep Power: 68
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Hi Ehsan,

DensityBasedTurbo is now available: densityBasedTurbo - post #2

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   May 3, 2013, 07:47
Default
  #6
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 15
immortality is on a distinguished road
hi
I have forgot how to download it!
__________________
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 3, 2013, 11:55
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 6,983
Blog Entries: 32
Rep Power: 68
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Quote:
Originally Posted by immortality View Post
hi
I have forgot how to download it!
  1. Go to the page where the source code is: https://github.com/boroli/DensityBasedTurbo
  2. Click on the big "ZIP" button on the left, below the bigger button "Code".
wyldckat is offline   Reply With Quote

Old   May 3, 2013, 13:36
Default
  #8
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 15
immortality is on a distinguished road
but it has the same issue it had with first calcMassFlow and specificHeat you modified later(basicThermo)
could you please tell me how resolve it?
Code:
Making dependency list for source file transonicMRFDyMFoam.C
could not open file basicPsiThermo.H for source file transonicMRFDyMFoam.C
could not open file MRFZones.H for source file transonicMRFDyMFoam.C
could not open file dynamicFvMesh.H for source file transonicMRFDyMFoam.C
could not open file createDynamicFvMesh.H for source file transonicMRFDyMFoam.C
SOURCE=transonicMRFDyMFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I../godunovFlux -I../timeStepping/localTimeStep -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/turbulenceModels/compressible/turbulenceModel/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicMesh/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/transonicMRFDyMFoam.o
transonicMRFDyMFoam.C:52:28: fatal error: basicPsiThermo.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/transonicMRFDyMFoam.o] Error 1
Making dependency list for source file transonicMRFCHTDyMFoam.C
could not open file basicPsiThermo.H for source file transonicMRFCHTDyMFoam.C
could not open file MRFZones.H for source file transonicMRFCHTDyMFoam.C
could not open file dynamicFvMesh.H for source file transonicMRFCHTDyMFoam.C
could not open file createDynamicFvMesh.H for source file transonicMRFCHTDyMFoam.C
SOURCE=transonicMRFCHTDyMFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I../godunovFlux -I../timeStepping/localTimeStep -I../transonicMRFDyMFoam -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/turbulenceModels/compressible/turbulenceModel/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicMesh/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/transonicMRFCHTDyMFoam.o
transonicMRFCHTDyMFoam.C:46:28: fatal error: basicPsiThermo.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/transonicMRFCHTDyMFoam.o] Error 1
Making dependency list for source file tractionDisplacement/tractionDisplacementFvPatchVectorField.C
could not open file directMappedPatchBase.H for source file tractionDisplacement/tractionDisplacementFvPatchVectorField.C
Making dependency list for source file transonicMRFFSIDyMFoam.C
could not open file basicPsiThermo.H for source file transonicMRFFSIDyMFoam.C
could not open file MRFZones.H for source file transonicMRFFSIDyMFoam.C
could not open file dynamicFvMesh.H for source file transonicMRFFSIDyMFoam.C
could not open file tetFemMatrices.H for source file transonicMRFFSIDyMFoam.C
could not open file tetPointFields.H for source file transonicMRFFSIDyMFoam.C
could not open file faceTetPolyPatch.H for source file transonicMRFFSIDyMFoam.C
could not open file tetPolyPatchInterpolation.H for source file transonicMRFFSIDyMFoam.C
could not open file fixedValueTetPolyPatchFields.H for source file transonicMRFFSIDyMFoam.C
could not open file createDynamicFvMesh.H for source file transonicMRFFSIDyMFoam.C
SOURCE=tractionDisplacement/tractionDisplacementFvPatchVectorField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I../godunovFlux/ -I../timeStepping/localTimeStep -I../transonicMRFDyMFoam -I../transonicMRFCHTDyMFoam -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/turbulenceModels/compressible/turbulenceModel/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicMesh/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude  -I/opt/openfoam220/src/tetDecompositionFiniteElement/lnInclude -I/opt/openfoam220/src/tetDecompositionMotionSolver/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/tractionDisplacementFvPatchVectorField.o
tractionDisplacement/tractionDisplacementFvPatchVectorField.C:30:35: fatal error: directMappedPatchBase.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/tractionDisplacementFvPatchVectorField.o] Error 1
Making dependency list for source file transonicSteadySRFFoam.C
could not open file basicPsiThermo.H for source file transonicSteadySRFFoam.C
SOURCE=transonicSteadySRFFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I../godunovFlux -I../timeStepping/localTimeStep -I../transonicMRFDyMFoam -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/turbulenceModels/compressible/turbulenceModel/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicMesh/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/transonicSteadySRFFoam.o
transonicSteadySRFFoam.C:37:28: fatal error: basicPsiThermo.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/transonicSteadySRFFoam.o] Error 1
Making dependency list for source file transonicUnsteadyMRFDyMFoam.C
could not open file basicPsiThermo.H for source file transonicUnsteadyMRFDyMFoam.C
could not open file MRFZones.H for source file transonicUnsteadyMRFDyMFoam.C
could not open file dynamicFvMesh.H for source file transonicUnsteadyMRFDyMFoam.C
could not open file createDynamicFvMesh.H for source file transonicUnsteadyMRFDyMFoam.C
SOURCE=transonicUnsteadyMRFDyMFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I../godunovFlux -I../timeStepping/localTimeStep -I../transonicMRFDyMFoam -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/turbulenceModels/compressible/turbulenceModel/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicMesh/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/transonicUnsteadyMRFDyMFoam.o
transonicUnsteadyMRFDyMFoam.C:61:28: fatal error: basicPsiThermo.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/transonicUnsteadyMRFDyMFoam.o] Error 1
and do you mean I can install sorceforge extended version now?
__________________
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.

Last edited by immortality; May 3, 2013 at 15:10.
immortality is offline   Reply With Quote

Old   May 3, 2013, 13:57
Default
  #9
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 6,983
Blog Entries: 32
Rep Power: 68
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Why do you want to run it? You wrote this in a previous post:
Quote:
Originally Posted by immortality View Post
I only want to know how Riemann invarient boundary condition is performed in the code and I don't need to execute it directly.in fact I want to write it (by modification I need because it should change with time) in groovyBC.
really say I have found and have written a riemann BC I found in an help file of a software in groovyBC but I want to be certain that its correct and its the same that is used in OpenFOAM.
then its sufficient to me to have a text code of this BC.(.C and .H)
can it be found out of the executive code?
If I understand you correctly, you just wanted to look at the source code!?

If I'm not mistaken, the source code was designed to work with OpenFOAM 1.6-ext. Upgrading it to OpenFOAM 2.2 is something that should be author(s) of the source code to do, given the complexity of having to go from 1.6-ext to 2.2!
wyldckat is offline   Reply With Quote

Old   May 3, 2013, 15:12
Default
  #10
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 15
immortality is on a distinguished road
ok.yes that can be useful and enough.
but the 1.6ext has been free to download now?
__________________
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 3, 2013, 15:17
Default
  #11
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 6,983
Blog Entries: 32
Rep Power: 68
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Not yet. But there are mirrors:
Quote:
Originally Posted by wyldckat View Post
Here is one: https://github.com/ogoe/OpenFOAM-1.6-ext
But it's not complete... it only has the main branch.

edit on 2013-03-08: found another mirror, this one seems to be complete: http://repo.or.cz/w/OpenFOAM-1.6-ext.git
Installation instructions can also be found here: http://openfoamwiki.net/index.php/In...u#Ubuntu_11.04
wyldckat is offline   Reply With Quote

Old   May 3, 2013, 17:46
Default
  #12
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 15
immortality is on a distinguished road
hi
I can't find riemann BC in the files.where are they?!
__________________
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 3, 2013, 18:21
Default
  #13
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 6,983
Blog Entries: 32
Rep Power: 68
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
I got plenty of hits by running inside the folder:
Code:
grep -Ri "Riemann" *
Seems to be inside "src/godunovFlux".
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
FLUENT Periodic Boundary Condition SOLVED + TUTORIAL Peter023 FLUENT 20 April 15, 2014 06:25
hotRoom tutorial with atmosphere boundary condition Toorop OpenFOAM Running, Solving & CFD 7 June 21, 2013 02:26
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
InletOutlet boundary condition in motorBike tutorial madad2005 OpenFOAM 2 November 27, 2009 08:15
Riemann Boundary Condition Mikhail CFX 1 March 9, 2005 21:49


All times are GMT -4. The time now is 14:45.