RandomIC combined with LatticeSmoothCircleIC #30366
-
|
Hello, I want to solve a cahn hilliard problem with 3 phases. 1 phase is circles distributed, which can be done using LatticeSmoothCircleIC. The other 2 phases are completely mixed - something that can be done using RandomIC. How can I apply the RandomIC in the domain excluding the circles created. I know creating subdomains will likely solve this problem, but I am looking to have a uniform quadrilateral mesh all throughout. Is there a better way to approach this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hello This should be possible to do in a custom initial condition object. You can have logic there that checks for the presence of the circles (through the variable value), and uses the same code as the RandomIC outside the circles. |
Beta Was this translation helpful? Give feedback.
Hello
This should be possible to do in a custom initial condition object. You can have logic there that checks for the presence of the circles (through the variable value), and uses the same code as the RandomIC outside the circles.