https://linen.dev logo
Join Discord
Powered by
# les-ras
  • s

    smit joshi

    03/28/2022, 5:33 PM
    with k-epsilon turbulence
  • m

    Malte

    03/28/2022, 5:33 PM
    Is it incompressible and steady state then good choice
  • m

    Malte

    03/28/2022, 5:33 PM
    if not bad choice
  • s

    smit joshi

    03/28/2022, 5:33 PM
    it is incompressible and steady state
  • s

    smit joshi

    03/28/2022, 5:34 PM
    theoretical results shows velocity gradient generated is small so we can assume that
  • m

    Malte

    03/28/2022, 5:36 PM
    I cant say anything about that
  • s

    slopezcastano

    03/28/2022, 7:47 PM
    Your problem is ill-posed: you cannot have both velocities and pressure be Neumann-type (zeroGradient) at the same boundary.
  • z

    Zino

    03/29/2022, 4:50 AM
    And boundary conditions are the problem once more
  • z

    Zino

    03/29/2022, 4:50 AM
    Feels like a good 90% of noob errors are BCs
  • s

    smit joshi

    03/29/2022, 5:03 AM
    I tried giving totalpressure bc to both inlet and outlet along with pressureinletoutletvelocity bc for velocity
  • s

    smit joshi

    03/29/2022, 5:03 AM
    Still I face the same bounding error problem
  • z

    Zino

    03/29/2022, 8:20 AM
    https://www.openfoam.com/documentation/guides/latest/doc/guide-bcs-common-combinations.html
  • s

    smit joshi

    03/29/2022, 8:28 AM
    Because of this documentation only I gave totalpressure to both inlet and outlet
  • s

    slopezcastano

    03/29/2022, 11:46 AM
    Which are the boundaries for U in your domain? We know that inlet/outlet are Neumann, What about the others?
  • s

    smit joshi

    03/29/2022, 12:08 PM
    Inlet have pressureinletvelocity and outlet have zerogradient
  • s

    smit joshi

    03/29/2022, 12:09 PM
    My main prob is bounding of k/epsilon
  • m

    Malte

    03/29/2022, 12:10 PM
    What about the other boundaries of the domain?
  • f

    FleurDePassion

    03/29/2022, 5:00 PM
    There is an utily called boxTurb in ofv21 «Create a box of divergence free turbulence conforming to a given energy spectrum » but i don't know how to use it.
  • m

    Malte

    03/29/2022, 5:04 PM
    dnsFoam has an example for that I believe
  • s

    smit joshi

    03/29/2022, 5:16 PM
    i am out now i will send all the boundary condition data tomorrow
  • f

    FleurDePassion

    03/30/2022, 3:38 AM
    It's not clearly indicated but your mesh has to be regular to use this as it use FFT technique. This is why I was having issue. Of course my first reflex was to grep the whole tutorial folder for this word ^^
  • s

    smit joshi

    03/30/2022, 9:10 AM
    Ok so I changed my epsilon and k conditions
  • s

    smit joshi

    03/30/2022, 9:10 AM
    dimensions [0 2 -3 0 0 0 0]; internalField uniform 50; boundaryField { inlet { type turbulentMixingLengthDissipationRateInlet; mixingLength 5.96e-3; value uniform 50; } outlet { type zeroGradient; value uniform 50; } walls { type epsilonWallFunction; value uniform 50; }
  • s

    smit joshi

    03/30/2022, 9:10 AM
    For k dimensions [0 2 -2 0 0 0 0]; internalField uniform 1; boundaryField { inlet { type turbulentIntensityKineticEnergyInlet; intensity 0.05; value uniform 1; } outlet { type zeroGradient; value uniform 1; } walls { type kqRWallFunction; value uniform 1; } }
  • s

    smit joshi

    03/30/2022, 9:11 AM
    Initially I still get bounding epsilon but it goes away after couple 100 of iterations
  • s

    smit joshi

    03/30/2022, 9:12 AM
    Unfortunately I had to stop iterations after 500 iterations due to low disk space but now I have again started it
  • s

    smit joshi

    03/30/2022, 9:13 AM
    Hopefully it will converge fully I will keep you all posted
  • m

    Malte

    03/30/2022, 9:13 AM
    your U and p BC?
  • s

    smit joshi

    03/30/2022, 9:14 AM
    For P dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type totalPressure; rho rho; psi none; gamma 1; p0 uniform 50; value uniform 50; } outlet { type fixedValue; value uniform 0; } walls { type zeroGradient; gradient uniform 0; value uniform 0; }
  • s

    smit joshi

    03/30/2022, 9:15 AM
    For U dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { inlet { type pressureInletOutletVelocity; value uniform (0 0 0); } outlet { type inletOutlet; inletValue uniform (0 0 0); value uniform (0 0 0); } walls { type noSlip; }
1...293031...52Latest