2 BC on one Boundary
Hi all,
i want 2 different Boundary Condition for one Boundary. For example:half has T=300 and half has T=350. Is that possible? Or can i set Two regions and then remove the internal Boundary to reach my goal? Best regards Qiming |
Hi Sheng,
You can use groovyBC from swak4Foam package, this is straightforward and easy to use. see this page for detailed information: https://openfoamwiki.net/index.php/Contrib/groovyBC Regards, Arsalan. |
Hi Arsalan,
thank you for your quick reply. I have installed Swak4FOAM, but i know little about that. I wiil learn from that website. Can you show me how to set that BC if you have time? best regards |
Well for an exact solution I need more information about your problem, but as an simple example of setting different variable values on a patch by groovyBC we need a piece of code as follows:
Code:
wall Regards, Arsalan. |
Thank you very much Arsalan. I will try this after i finish my lunch.
Best regards, Qiming |
All times are GMT -4. The time now is 10:34. |