https://linen.dev logo
Join Discord
Powered by
# general-help
  • y

    Yann

    05/02/2025, 2:28 PM
    Don't save things at all, and use a ``writeObject`` FO to save only the variables you want at the interval you want?
  • q

    qr

    05/02/2025, 2:32 PM
    Yeah but what's the one runtime setting to do "don't save anything at all"
  • y

    Yann

    05/02/2025, 2:36 PM
    Use a ``writeInterval`` bigger than your ``endTime`` in ``controlDict``?
  • q

    qr

    05/02/2025, 2:37 PM
    Crazy hack
  • y

    Yann

    05/02/2025, 2:43 PM
    Until you regret not saving it because you wanted to restart your case!
  • y

    Yann

    05/02/2025, 2:45 PM
    Still possible to play it safe and still fully write only the last timestep
  • t

    tkeskita

    05/02/2025, 2:52 PM
    https://tenor.com/view/hat-tip-respect-gif-12956820
  • n

    nereavonoertzen

    05/03/2025, 1:41 PM
    I'm currently simulating a gas-liquid stirred tank with two different impellers. I'm having trouble implementing a tracer for mixing time and calculating hold-up. Unfortunately, I'm using STAR-CCM+ and can't switch software. Does anyone here have expertise with STAR-CCM+, or know of another forum or server where I could get help?
  • m

    muehhlllerr

    05/04/2025, 7:23 AM
    Sir, this is a OpenFOAM server
  • s

    slopezcastano

    05/05/2025, 10:02 AM
    If you paid for a STAR license, you can ask them for help
  • o

    otaolafr

    05/05/2025, 10:14 AM
    license? whats that?
  • o

    otaolafr

    05/05/2025, 10:15 AM
    https://tenor.com/view/spongebob-spongebob-squarepants-spongebob-season-6-truth-or-square-spongebob-truth-or-square-gif-14618301320258983224
  • s

    slopezcastano

    05/05/2025, 3:23 PM
    Whats your point here?
  • s

    slopezcastano

    05/05/2025, 3:46 PM
    Well, In Elementary FluidMech they will explain you that the general state of stress on a control volume at rest is one in which the pressure (the component of stress normal to a CVs surface) is a constant at equal heights and points towards the volume, by convention.
  • s

    slopezcastano

    05/05/2025, 3:47 PM
    That's why your two forces act "against the surface"
  • s

    slopezcastano

    05/05/2025, 3:48 PM
    when you are in thermodynamics and/or intermediate fluid mechanics they will explain you that perfect fluids cannot be in a state of tension
  • s

    slopezcastano

    05/05/2025, 4:03 PM
    Man, download White's Solution Manual and stop spamming this channel
  • s

    slopezcastano

    05/06/2025, 12:58 PM
    The whole chatgroup is called "OpenFOAM", not "White's Fluid Mechanics Solution Manual Group"
  • l

    Lalorobot

    05/06/2025, 6:12 PM
    this isn't really a homework help server though
  • l

    Lalorobot

    05/06/2025, 6:12 PM
    your classmates are probably a better resource
  • l

    Lalorobot

    05/06/2025, 6:12 PM
    just go talk to them
  • m

    mathmo learning intro fluid mech

    05/07/2025, 9:38 AM
    Ok, well please could you tell me a better server to get help from? I'm a maths student, but the module is taught by bioengineering, which is on a completely different campus to the maths department (i.e. on the other side of London). Because of this, I don't have any classmates to ask so the internet is the best resource I have
  • s

    slopezcastano

    05/07/2025, 9:40 AM
    You have teachers, TA's, 1000's of books, Solution Manuals, etc... If you rely on random chat servers for your education, I have some news for you: stack exchange
  • t

    thijs2725

    05/07/2025, 10:33 AM
    Hi, I am solving an equation with OpenFoam, however when i use lower values for 'k' which represents the thermal conductivity, it starts either not converging, or when k is even lower it immediatly crashes with a floating point error... any ideas for making this convection dominated problem converge? Either via changing my formulation of the equation or by tweaking the solvers/preconditioners?
    Copy code
    const volVectorField& U = primalVars_.UInst();
    surfaceScalarField phiBeta("phibeta", fvc::flux(U*(1-beta)));
    
    // Adjoint energy equation
    fvScalarMatrix TaEqn
    (
         rho_fluid * c_p_fluid * fvm::div(-phiBeta, Ta)
          - fvm::laplacian(k, Ta) 
    );
    Current solvers:
    Copy code
    "Ta.*"
        {
            solver          PBiCGStab;
            preconditioner  DILU; 
            tolerance       1e-09;
            relTol          0;
        }
  • t

    thijs2725

    05/07/2025, 10:42 AM
    If i use upwind phi instead of linear interpolation it doesnt crash any more but the solution still diverges via some weird checkerboard thing
  • t

    the Food

    05/08/2025, 1:38 AM
    Does anyone have a rough Idea of if a 5700X AMD CPU with 32 Gigs ram or Nvidia a200 laptop with 4gb Vram and 64 g memory what would run simple laminar flow high cell count simulations
  • s

    silentspirit

    05/08/2025, 1:33 PM
    Hi everyone, I’m running a wind turbine simulation in OpenFOAM v2312 using the k-omega SST turbulence model with steady-state (simpleFoam) and MRF. The issue I’m facing is that the residuals for omega and k remain unrealistically high or diverge, even though the velocity (U) and pressure (p) residuals seem reasonable. Here are the key setup details: • OpenFOAM version: v2312 • Solver: simpleFoam • Turbulence model: k-omega SST • Mesh: generated via snappyHexMesh; boundary layers included; checkMesh is mostly clean except for 1–2 faces with high non-orthogonality that I can’t remove even after further refinement • Wall treatment: using standard wall functions (omegaWallFunction, kqRWallFunction, nutkWallFunction) • Boundary conditions: • Inlet: fixed velocity; k and omega computed from 5% turbulence intensity and estimated length scale • Outlet: zeroGradient for all fields • Walls (blades, hub, etc.): noSlip with appropriate wall functions • Relaxation factors: • p: 0.4 • U: 0.8 • k, omega: 0.3 Despite trying different under-relaxation factors, and verifying initial and boundary conditions, the residuals for k and omega are not stabilizing. Any insights into what could be causing this? Has anyone dealt with similar issues, especially in wind turbine or rotating frame setups? I’m happy to share snippets of my case files or logs if needed. Thanks in advance for your help!
  • r

    Rand Paul's Neighbor

    05/08/2025, 9:20 PM
    You might want to try playing around with some of the turbulence model parameters in the turbulenceProperties file, if it has any
  • m

    muehhlllerr

    05/09/2025, 7:06 AM
    I would not do that. These are constants that are calibrated so the model recreates certain "calibration" flow setups properly and once you mess with them (when you have no data to base it on) you loose the (assumed) validity of your turbulence model.
  • m

    muehhlllerr

    05/09/2025, 7:09 AM
    Are you properly resolving all the gradients? In case of localy strong gradients that werent resolved I have had the same issues . And when that is the case the standard approach of using more stabil numerics doesnt work since you further reduce the resolution of your numerics making the problem worse