CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   which tutorial can find that include Riemann boundary condition? (http://www.cfd-online.com/Forums/openfoam-solving/116463-tutorial-can-find-include-riemann-boundary-condition.html)

 immortality April 19, 2013 13:08

which tutorial can find that include Riemann boundary condition?

I found this in:http://www.cfd-online.com/Forums/ope...tml#post369961
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?

 wyldckat April 19, 2013 17:55

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:
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: http://www.cfd-online.com/Forums/ope...tml#post368610 - 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: http://www.cfd-online.com/Forums/ope...asedturbo.html
Best regards,
Bruno

 immortality April 20, 2013 05:28

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?

 wyldckat April 20, 2013 13:36

Like I said, the source code for it is currently offline.
Quote:
 Originally Posted by immortality (Post 421917) 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 May 2, 2013 16:27

Hi Ehsan,

DensityBasedTurbo is now available: http://www.cfd-online.com/Forums/ope...tml#post424809 - post #2

Best regards,
Bruno

 immortality May 3, 2013 07:47

hi

 wyldckat May 3, 2013 11:55

Quote:
 Originally Posted by immortality (Post 424947) hi I have forgot how to download it!:(:D
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".

 immortality May 3, 2013 13:36

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?

 wyldckat May 3, 2013 13:57

Why do you want to run it? You wrote this in a previous post:
Quote:
 Originally Posted by immortality (Post 421917) 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!

 immortality May 3, 2013 15:12

ok.yes that can be useful and enough.:)

 wyldckat May 3, 2013 15:17

Not yet. But there are mirrors:
Quote:
 Originally Posted by wyldckat (Post 404465) 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

 immortality May 3, 2013 17:46

hi
I can't find riemann BC in the files.where are they?!

 wyldckat May 3, 2013 18:21

I got plenty of hits by running inside the folder:
Code:

`grep -Ri "Riemann" *`
Seems to be inside "src/godunovFlux".

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