Skip to content

Changing Pressure Outlet by time

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Changing Pressure Outlet by time

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1957
    arash81068
    Member

    Dear code Developer,
    In the Aorta example, How is it possible to change pressure outlet by time?
    (Pressure outlet is equal to 0 by default). We have two outlets in the aorta example
    is it possible to assign different pressure BC’s to them. In the main code we have just these following two lines for assigning zero pressure.
    bc.addPressureBoundary( superGeometry,4,omega );
    bc.addPressureBoundary( superGeometry,5,omega );
    Thank you

    #2765
    mathias
    Keymaster

    Dear Arash81068,

    the two line asign the kind of bc. The value is set be “sLattice.defineRho”. You can define that within the time loop for changing boundary pressure values as it is done for the velocity in that very example.

    Best
    Mathias

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.