|
[Sponsors] |
![]() |
![]() |
#61 |
Member
Matthias Walter
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 63
Rep Power: 17 ![]() |
You have to add "-lgslcblas" to the libraries in the option file. Unfortunately, the cblas interfaces have been outsourced into a separate library.
I will add the missing dependency to the repository as soon as possible. Good Luck Matthias |
|
![]() |
![]() |
![]() |
![]() |
#62 | |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 ![]() |
Quote:
Thank you, I did as you suggested and included "-lgslcblas" after "-lgsl" in the options file, but some of the errors still remain. When I run applyPatches, the following message appears indicating it is working properly (I suppose!): Code:
syavash@syavash-VPCF11DGX:~/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x$ ./applyPatches patching file /home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/LES/LESfilters/LESfilter/LESfilter.H Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file /home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/LES/LESfilters/LESfilter/LESfilter.H.rej patching file /home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/LES/LESfilters/LESfilter/LESfilter.C Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file /home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/LES/LESfilters/LESfilter/LESfilter.C.rej + LES/Allwmake + wmakeLnInclude ../incompressible/LES + wmake libso LESfilters '/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libLESfilters.so' is up to date. + wmake libso LESdeltas '/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libLESdeltas.so' is up to date. + incompressible/Allwmake + wmake libso turbulenceModel '/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libincompressibleTurbulenceModel.so' is up to date. + wmake libso RAS '/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so' is up to date. + wmake libso LES '/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libincompressibleLESModels.so' is up to date. + compressible/Allwmake + wmake libso turbulenceModel '/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libcompressibleTurbulenceModel.so' is up to date. + wmake libso RAS '/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libcompressibleRASModels.so' is up to date. + wmake libso LES '/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libcompressibleLESModels.so' is up to date. + wmake libso derivedFvPatchFields '/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libturbulenceDerivedFvPatchFields.so' is up to date. Code:
syavash@syavash-VPCF11DGX:~/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x$ ./Allwmake + wmake libso libLEMOS-2.3.x '/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libLEMOS-2.3.x.so' is up to date. + cd applications + wmake all solvers make[1]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/basic' make[2]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/basic/PODSolver' make[2]: `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/PODSolver' is up to date. make[2]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/basic/PODSolver' make[1]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/basic' make[1]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/scalarPimpleFoam' make[1]: `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/scalarPimpleFoam' is up to date. make[1]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/scalarPimpleFoam' make[1]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/scalarPimpleFoamLDMMS' SOURCE=scalarPimpleFoamLDMMS.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/incompressible/turbulenceModel -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/transportModels -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/transportModels/incompressible/singlePhaseTransportModel -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/LES/LESfilters/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/fvOptions/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/sampling/lnInclude -IlnInclude -I. -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/scalarPimpleFoamLDMMS.o In file included from scalarPimpleFoamLDMMS.C:54:0: createFields.H: In function ‘int main(int, char**)’: createFields.H:106:13: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘registerScalarField’ turbulence->registerScalarField(f,D_f); ^ scalarPimpleFoamLDMMS.C:113:44: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘molecularDiffusivityCoeff’ volScalarField DEff = turbulence->molecularDiffusivityCoeff(f.name()) + turbulence->turbulentDiffusivityCoeff(f.name()); ^ scalarPimpleFoamLDMMS.C:113:94: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘turbulentDiffusivityCoeff’ volScalarField DEff = turbulence->molecularDiffusivityCoeff(f.name()) + turbulence->turbulentDiffusivityCoeff(f.name()); ^ scalarPimpleFoamLDMMS.C:118:29: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘divFeff’ + turbulence->divFeff(f) ^ make[1]: *** [Make/linux64GccDPOpt/scalarPimpleFoamLDMMS.o] Error 1 make[1]: Target `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/scalarPimpleFoamLDMMS' not remade because of errors. make[1]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/scalarPimpleFoamLDMMS' make: *** [scalarPimpleFoamLDMMS] Error 2 make[1]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/scalarPimpleFoamMFM' SOURCE=scalarPimpleFoamMFM.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/incompressible/turbulenceModel -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/transportModels -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/transportModels/incompressible/singlePhaseTransportModel -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/LES/LESfilters/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/fvOptions/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/sampling/lnInclude -IlnInclude -I. -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/scalarPimpleFoamMFM.o In file included from scalarPimpleFoamMFM.C:54:0: createFields.H: In function ‘int main(int, char**)’: createFields.H:106:13: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘registerScalarField’ turbulence->registerScalarField(f,D_f); ^ scalarPimpleFoamMFM.C:113:44: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘molecularDiffusivityCoeff’ volScalarField DEff = turbulence->molecularDiffusivityCoeff(f.name()) + turbulence->turbulentDiffusivityCoeff(f.name()); ^ scalarPimpleFoamMFM.C:113:94: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘turbulentDiffusivityCoeff’ volScalarField DEff = turbulence->molecularDiffusivityCoeff(f.name()) + turbulence->turbulentDiffusivityCoeff(f.name()); ^ scalarPimpleFoamMFM.C:118:29: error: ‘class Foam::incompressible::turbulenceModel’ has no member named ‘divFeff’ + turbulence->divFeff(f) ^ make[1]: *** [Make/linux64GccDPOpt/scalarPimpleFoamMFM.o] Error 1 make[1]: Target `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/scalarPimpleFoamMFM' not remade because of errors. make[1]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/solvers/scalarPimpleFoamMFM' make: *** [scalarPimpleFoamMFM] Error 2 make: Target `application' not remade because of errors. + cd applications + wmake all utilities make[1]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing' make[2]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/POD' make[3]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/POD/scalarSnapshots' make[3]: `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/scalarSnapshots' is up to date. make[3]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/POD/scalarSnapshots' make[3]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/POD/vectorSnapshots' make[3]: `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/vectorSnapshots' is up to date. make[3]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/POD/vectorSnapshots' make[2]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/POD' make[2]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/miscellaneous' make[3]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/miscellaneous/postChannelExt' make[3]: `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/postChannelExt' is up to date. make[3]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/miscellaneous/postChannelExt' make[2]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/miscellaneous' make[2]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/velocityField' make[3]: Entering directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/velocityField/LambdaCI' make[3]: `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/LambdaCI' is up to date. make[3]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/velocityField/LambdaCI' make[2]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing/velocityField' make[1]: Leaving directory `/home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/LEMOS-2.3.x/applications/utilities/postProcessing' Thanks Syavash |
||
![]() |
![]() |
![]() |
![]() |
#63 |
Member
Matthias Walter
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 63
Rep Power: 17 ![]() |
Dear Syavash,
as long as you don't need the turbulence models in the library you can ignore these errors. The library seems to be correctly build. There are some missing dependencies in the original turbulence models class of OpenFOAM. I have to modify the applyPatches to add these dependencies but this needs some time. I will do it till end of the week. Best Matthias |
|
![]() |
![]() |
![]() |
![]() |
#64 | |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 ![]() |
Quote:
I appreciate your comment, but the problem still persists when running solver "pisoFoam". I have added inlet boundary condition as follows: Code:
INLET { type decayingTurbulenceInflowGenerator; direction 1; LField uniform 0.00315; refField uniform ( 6.355 0 0 ); value uniform ( 6.355 0 0 ); } Code:
syavash@syavash-VPCF11DGX:~/OpenFOAM/syavash-2.3.1/run/tutorials/incompressible/pisoFoam/les/pitzDaily-94-3-24$ pisoFoam /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.1-262087cdf8db Exec : pisoFoam Date : Jul 01 2015 Time : 17:50:00 Host : "syavash-VPCF11DGX" PID : 3380 Case : /home/syavash/OpenFOAM/syavash-2.3.1/run/tutorials/incompressible/pisoFoam/les/pitzDaily-94-3-24 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading field p Reading field U --> FOAM FATAL IO ERROR: Unknown patchField type decayingTurbulenceInflowGenerator for patch type patch Valid patchField types are : 75 ( SRFFreestreamVelocity SRFVelocity activeBaffleVelocity activePressureForceBaffleVelocity advective atmBoundaryLayerInletVelocity calculated codedFixedValue codedMixed cyclic cyclicACMI cyclicAMI cyclicSlip cylindricalInletVelocity directionMixed empty externalCoupled fixedGradient fixedInternalValue fixedJump fixedJumpAMI fixedMean fixedNormalInletOutletVelocity fixedNormalSlip fixedValue flowRateInletVelocity fluxCorrectedVelocity freestream inletOutlet interstitialInletVelocity kqRWallFunction mapped mappedField mappedFixedInternalValue mappedFixedPushedInternalValue mappedFlowRate mappedVelocityFlux mixed movingWallVelocity nonuniformTransformCyclic oscillatingFixedValue outletInlet outletMappedUniformInlet outletPhaseMeanVelocity partialSlip pressureDirectedInletOutletVelocity pressureDirectedInletVelocity pressureInletOutletParSlipVelocity pressureInletOutletVelocity pressureInletUniformVelocity pressureInletVelocity pressureNormalInletOutletVelocity processor processorCyclic rotatingPressureInletOutletVelocity rotatingWallVelocity sliced slip supersonicFreestream surfaceNormalFixedValue swirlFlowRateInletVelocity symmetry symmetryPlane timeVaryingMappedFixedValue translatingWallVelocity turbulentInlet uniformFixedGradient uniformFixedValue uniformInletOutlet uniformJump uniformJumpAMI variableHeightFlowRateInletVelocity waveTransmissive wedge zeroGradient ) file: /home/syavash/OpenFOAM/syavash-2.3.1/run/tutorials/incompressible/pisoFoam/les/pitzDaily-94-3-24/0/U.boundaryField.INLET from line 27 to line 31. From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&) in file /home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 143. FOAM exiting Another question, Shouldn't I add something to controlDict??! P.S.: Isn't it strange that other people did not encounter such problems as I did??! Regards, Syavash |
||
![]() |
![]() |
![]() |
![]() |
#65 |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 ![]() |
I wanted to add I am running OF 2.3.1 under Ubuntu 14.04, Could it be making troubles??
|
|
![]() |
![]() |
![]() |
![]() |
#66 | |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 ![]() |
Quote:
Knock, knock, Great! The problem was that I should have added the following line to the controlDict, Code:
libs ("libLEMOS-2.3.x.so"); Regards, Syavash |
||
![]() |
![]() |
![]() |
![]() |
#67 |
New Member
Abhi
Join Date: Feb 2012
Location: United Kingdom
Posts: 3
Rep Power: 15 ![]() |
Hi amanbearpig,
I am trying to generate turbulence at the inlet for a flatPlate LES case. I am using the inflowGeneratorBC at the inlet. Is it possible to share your flat plate case in which you used the inflowGeneratorBC. Many Thanks, Abhi. |
|
![]() |
![]() |
![]() |
![]() |
#68 | |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 ![]() |
Quote:
When I input a non-zero value as uv Reynolds stress, OF gives an error. Is LeMOS supposed to accept non-isotropic inlet conditions??! Thanks Syavash |
||
![]() |
![]() |
![]() |
![]() |
#69 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 15 ![]() |
Hello Syavash,
What kind of problem do you have when you use non-isotropic BC there? For my experience, it is OK. |
|
![]() |
![]() |
![]() |
![]() |
#70 | |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 ![]() |
Quote:
By non-isotropic I meant that it is not possible to have non-zero values on non-diagonal columns of the stress tensor. Is it possible in your case??! Syavash |
||
![]() |
![]() |
![]() |
![]() |
#71 |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 ![]() |
Dear Matthias,
I have successfully installed LeMOS on several PCs. On the last system I could also install LeMOS without any problem but when I run the solver (pimpleFoam), I get the following error: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.1-262087cdf8db Exec : pimpleFoam Date : Oct 08 2015 Time : 23:51:15 Host : "syavash-All-Series" PID : 18106 Case : /home/syavash/OpenFOAM/syavash-2.3.1/PhD_Thesis/ramp2 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM Warning : From function dlOpen(const fileName&, const bool) in file POSIX.C at line 1179 dlopen error : libgslcblas.so.0: cannot open shared object file: No such file or directory --> FOAM Warning : From function dlLibraryTable::open(const fileName&, const bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99 could not load "libLEMOS-2.3.x.so" Create mesh for time = 0 Reading field p Reading field U --> FOAM FATAL IO ERROR: Unknown patchField type decayingTurbulenceInflowGenerator for patch type patch Valid patchField types are : Do you know how I can possibly solve this issue??! Thanks, Syavash |
|
![]() |
![]() |
![]() |
![]() |
#72 |
Member
Matthias Walter
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 63
Rep Power: 17 ![]() |
Dear syavash,
you need to install the gsl and gsl-devel libraries on those systems. Some tools in the LEMOS lib require gsl support. Good luck Matthias |
|
![]() |
![]() |
![]() |
![]() |
#73 |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 119
Rep Power: 14 ![]() |
Hello!
I would like to bump up the request by Abhi for a working test-case for a flat plate BL or some other simple flow. Can anyone who succeeded in using the generator share one ![]() Best, Tim |
|
![]() |
![]() |
![]() |
![]() |
#74 | |
New Member
Ali
Join Date: Apr 2010
Location: Greenville, South Carolina, USA
Posts: 11
Rep Power: 16 ![]() |
Quote:
First off thanks for your posts in this thread. I was wondering to know if there is any possibility to modify the inflow generator code such that it writes vortons and R values in separate files rather than writing them in U. Do you have any suggestions to where i need to look inside the code? Thanks a lot, beforehand. Ali |
||
![]() |
![]() |
![]() |
![]() |
#75 |
New Member
Marc
Join Date: Sep 2012
Posts: 17
Rep Power: 14 ![]() |
Hi Ali,
please have a look at your modification of the code https://github.com/ETH-BuildingPhysi...-OFTools-2.3.X You will find it in the folder BC/LEMOSinflowGeneratorMod It writes vortons into a separate file. In addition, in can interpolate input data. Example input data is found in BC/LEMOSinflowGeneratorMod/boundaryData/inlet You might also be interested in the filtered noise inflow generator (Klein at al, Xie and Castro) in the folder BC/FilteredNoiseInflowGenerator Kind Regards Marc |
|
![]() |
![]() |
![]() |
![]() |
#76 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 15 ![]() |
Dear Marc,
do you mean that in your shared codes, the inlet related data will be put in a separate "boundaryData" under the time directory? The files include L, ref, Rs? Thank you. |
|
![]() |
![]() |
![]() |
![]() |
#77 |
New Member
Marc
Join Date: Sep 2012
Posts: 17
Rep Power: 14 ![]() |
the data goes into: constant/boundaryData/inlet where "inlet" is the patch name of your inlet boundary condition.
The same code/structure of the timeVaryingMappedFixedValue BC is used, see for example OpenFOAM-2.3.x/tutorials/incompressible/simpleFoam/pitzDailyExptInlet There is just no additional time directory for the LEMOS mod BC Cheers Marc Ps: if a LEMOS maintainer is reading: feel free to copy paste from our modification. We would welcome if some fixes would go into the original version |
|
![]() |
![]() |
![]() |
![]() |
#78 |
Member
Matthias Walter
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 63
Rep Power: 17 ![]() |
Thanks for the suggestion but we are working on a new version of the inflow generator which improves the treatment of vector fields at the inlet, i.e. conservation of zero divergence , enhanced anisotropy features etc. At the moment, there is little effort to update the current implementation since the new one will be available in the short to medium term.
Best regards Matthias |
|
![]() |
![]() |
![]() |
![]() |
#79 | |
New Member
Ali
Join Date: Apr 2010
Location: Greenville, South Carolina, USA
Posts: 11
Rep Power: 16 ![]() |
Quote:
Thanks a lot! You are a life saver! I did download your package and checked out as development however I couldn't install this because it as soon as I run the Allmake code it just gives me the error of " unexpected ")" ". I removed all parentheses in the Allmake files, and replaced them with curly brackets (also I tried quotation marks) and now it says cannot find the paths! Any input? Again thank you so much for this! ~Ali |
||
![]() |
![]() |
![]() |
![]() |
#80 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 15 ![]() |
Dear Marc,
Could you please give the full information about the reference for filtered noise inflow generator? Thank you. |
|
![]() |
![]() |
![]() |
Tags |
inflow conditions, lemos |
Thread Tools | Search this Thread |
Display Modes | |
|
|