I have a problem with the patc
I have a problem with the patch in the subject...as in if I am using the rhoExplicitPorousSimpleFoam and its angledDuct tutorial, it works fine. When I am trying to use it into another application written by my humble self it does not work anymore, although I have (apparently) the same includes in the main and options in Make., i.e.
#include "fixedGradientFvPatchFields.H" and in options: ... EXE_INC = \ -I$(LIB_SRC)/finiteVolume/cfdTools \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/turbulenceModels \ -I$(LIB_SRC)/transportModels EXE_LIBS = \ -lfiniteVolume \ -lmeshTools \ -lincompressibleTurbulenceModels \ -lincompressibleTransportModels I guess it has nothing to do with compressible/incompressible libs...right? Any ideas? Thanx, Radu |
Hi,
Still cannot figure out
Hi,
Still cannot figure out what is happening. Now all my options and includes are incorporate the options and includes of rhoExplicitPorousSimpleFoam and still it says: Starting time loop Time = 1 DILUPBiCG: Solving for Ux, Initial residual = 0.574894, Final residual = 0.0244085, No Iterations 1 DILUPBiCG: Solving for Uy, Initial residual = 0.115229, Final residual = 0.00483646, No Iterations 1 DICPCG: Solving for p, Initial residual = 0.178315, Final residual = 0.00161697, No Iterations 76 DICPCG: Solving for p, Initial residual = 0.00321388, Final residual = 2.98041e-05, No Iterations 60 DICPCG: Solving for p, Initial residual = 0.000109443, Final residual = 9.69371e-07, No Iterations 75 DICPCG: Solving for p, Initial residual = 8.9062e-06, Final residual = 9.87235e-07, No Iterations 21 time step continuity errors : sum local = 1.77364e-06, global = -4.28777e-08, cumulative = -4.28777e-08 DILUPBiCG: Solving for epsilon, Initial residual = 0.0381206, Final residual = 0.00206035, No Iterations 1 DILUPBiCG: Solving for k, Initial residual = 1, Final residual = 0.0154824, No Iterations 2 --> FOAM FATAL ERROR : Unknown patchTypefield type turbulentIntensityKineticEnergyInlet Valid patchField types are : 25 ( fixedGradient symmetryPlane directMapped oscillatingFixedValue turbulentInlet freestream default empty fixedValue uniformFixedValue cyclic mixed processor calculated slip timeVaryingMappedFixedValue timeVaryingUniformFixedValue directionMixed sliced partialSlip outletInlet inletOutlet wedge zeroGradient waveTransmissive ) From function fvPatchField<type>::New(const word&, const fvPatch&, const Field<type>&) in file lnInclude/newFvPatchField.C at line 59. FOAM exiting Any ideas of how to fix this? Cheers, Radu |
Are you using an old version of OpenFOAM?
|
Hi Radu,
Did you manage to fix the problem? It smells like the wrong boundary condition. Regards, Gijs |
All times are GMT -4. The time now is 12:46. |