Inlet velocity changing with time

Hi Everyone,

Is there any example available of changing the inlet velocity or pressure with time? Thanks


to change the velocity on BC nodes you have to use setBoundaryVelocity on the boundary nodes. This function will overwrite the stored velocity.

Thank you Orestis, but would you please show me an example? Will I need to use a loop to change it over time in the script? Thanks!

@ShayHaq you can find one here:

1 Like

Thank you so much Jesantos!

1 Like