HI, everyone.
I need to impose the velocity and density at boundary simultaneously, how can I realize it?
Many thanks,
tianpei
Hey ltpreson,
Does using dirichlet boundaries for both not work ? I’ve only applied one at a time but I suppose you should be able to use them at the same time ?
setBoundaryVelocity(domain,velocity);
setBoundaryDensity(domain,density);
(after creating the boundary conditions)
Hi Catsgomeow,
Thanks for your reply.
However, it doesn’t seem work.
This way could only make the first - imposed value to be set, the second one couldn’t achieved.
Many thanks
tianpei
HI, Catsgomeow,
Do you have any other clues about this issue?
It does make me anxious these days.
tianpei
hey tianpei,
I got busy with something so didn’t really ever get a chance to look. But it’s true you can’t redefine a boundary with that I forgot.
Looking at the manual again in section 9.2.4 might be what you’re looking for though.
Sorry i can’t be of more help, it’s not something i’ve ever had the need to do
Hi Catsgomeow,
Thanks very much for your warm reply!
Good luck.