Possible to impose Dirichlet condition for velocity and pressure at the same time?
Posted: Wed Sep 28, 2022 2:16 pm
Hello,
This might be a stupid question.
Now I am wondering if we can impose the Dirichlet condition for velocity and pressure on the same surface at the same time.
In my simulation, the problem in pressure-driven flow is that it cannot take into account the flow of vertical direction if we use pressure Dirichlet condition at the inlet and outlet. Flow is always normal to the inlet surface.
But I want to give some vertical components for this flow.
So questions are:
- Is it stupid to give Dirichlet for pressure and velocity at the same time on the same surface?
- If not stupid, can we do that in code_saturne?
I tried to give Dirichlet for velocity and pressure, but in code_satune, I could not give them at the same time. Only one of two conditions (velocity or pressure) was imposed, not both.
Best regards,
Hamada
This might be a stupid question.
Now I am wondering if we can impose the Dirichlet condition for velocity and pressure on the same surface at the same time.
In my simulation, the problem in pressure-driven flow is that it cannot take into account the flow of vertical direction if we use pressure Dirichlet condition at the inlet and outlet. Flow is always normal to the inlet surface.
But I want to give some vertical components for this flow.
So questions are:
- Is it stupid to give Dirichlet for pressure and velocity at the same time on the same surface?
- If not stupid, can we do that in code_saturne?
I tried to give Dirichlet for velocity and pressure, but in code_satune, I could not give them at the same time. Only one of two conditions (velocity or pressure) was imposed, not both.
Best regards,
Hamada