Programming in OpenFOAM: writing a Custom Boundary Condition

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024

ความคิดเห็น • 17

  • @TheOnlyRaceEngineer
    @TheOnlyRaceEngineer 3 ปีที่แล้ว +3

    The most perfect explanation ever. Extraordinary. You define each term in very simple terms and that's the highest skill for an engineer. Thank you Hyper Lyceum for your assistance. Videos like this must get above million views and likes. Great job. SUBSCRIBED no doubt.

  • @luismir4264
    @luismir4264 3 ปีที่แล้ว +2

    Great video!
    It was really helpful for any OpenFOAM user.
    Best regards from Brazil!

  • @asifraj321
    @asifraj321 2 ปีที่แล้ว +1

    Very nice tutorials. it works perfectly. Thank you.

  • @ulrichbenash2338
    @ulrichbenash2338 2 หลายเดือนก่อน +1

    hello I am a young enthusiast of fluid mechanics...I am doing a simulation regarding atmospheric flows and I would like to know how to write the C++ code to have the normal speed at the level of a patch and not throughout the domain...I tried everything but nothing I need help please

  •  3 ปีที่แล้ว +1

    Nice video, thank you! In version > 8, "redirectType" needs to be replaced by the keyword "name".

  • @samueltwain7606
    @samueltwain7606 4 ปีที่แล้ว +3

    helpful video, thanks for your effort. after openfoamv1912, there is a new utility called setExprBoundaryFields, I am not sure whether It could reach the same results.

  • @jacquesenboit6351
    @jacquesenboit6351 2 ปีที่แล้ว

    What's the difference btwn assigning values to the fvPatchField directly, as here, versus initializing a new surface field of the same size & then putting it ob the RHS of 'operator==' as is shown in the OF UG?

  • @HM-or8so
    @HM-or8so 3 ปีที่แล้ว

    I want to apply temperature only at discreetly located coordinates in a 2D plane on heated wall. I don't have any function for temperature profile as it is not continuous but discreet profile. I can not find a way to do that in internet. Can anyone please help me here.

  • @lorenleskovar
    @lorenleskovar 3 ปีที่แล้ว

    how would you do an open channel flow, what would be the bounary condition for the open surface?

  • @davidcarnero6390
    @davidcarnero6390 2 ปีที่แล้ว

    hello everyone, I'm trying to create a time varying boundary condition with the next function: U(x_i,t)=U_0( 1+ k cos(tw + phi)), where w is a oscillating characteristic of the flow, but i´m not sure of how to implement it, I hope someone could help me. Tnks

  • @ramakantgadhewal7042
    @ramakantgadhewal7042 3 ปีที่แล้ว

    Thank you for your video. I want to apply codedfixedValue boundary conditions in the steady-state solver. Will it work on the steady-state for oscillating inlet?

  • @ramkumars2329
    @ramkumars2329 3 ปีที่แล้ว

    hi, it is an excellent video on programming.. may i know if similar stuff can be done on interpolation functions by any chance?.. i need one by the way.

  • @DiegoAndrade
    @DiegoAndrade ปีที่แล้ว

    Bravo and thank you, how can you add a 2d function ?

  • @hamanisofiane7272
    @hamanisofiane7272 3 ปีที่แล้ว +2

    Hello, Thanks for your vedeo
    I am a beginner on the use of openFoam. I want to simulate a cyclic open channel flow using interFoam solver.
    So I start by creating an other solver called "myinterfoam" in order to modify "fvOpition" term in the UEqn :
    fvVectorMatrix UEqn
    (
    fvm::ddt(rho, U) + fvm::div(rhoPhi, U)
    + MRF.DDt(rho, U)
    + turbulence->divDevTau(rho, U)
    == fvOptions(rho, U)
    I want introduce a condition to the term "fvOptions(rho, U)" by multiplying it by the volume fraction "alpha1" like this:
    if (alpha1

    • @hyperlyceum60
      @hyperlyceum60  3 ปีที่แล้ว

      Contact me by Email.
      peymanhavaej@hyperlyceum.com