Defining a subdomain with constant properties #29890
-
I need to define a type of subdomain that acts as a region of constant properties that is not affected by the kernals. In the picture i have attached it shows what i am looking to do. Currently I am using the RndBoundingBoxIC function to crease the regions of randomized values withing my specified range. What i want add is a region at the top and bottom, in a similar way to how RndBoundingBoxIC works. My question is it possible to stack RndBoundingBoxIC or is there a way initialize the IC as shown in the figure i have sent. It is also important that the region shown in red/blue in the figure is the same with and without the top and bottom pieces so to compare the effects. Those regions are to act as a type of electrical terminal, where in this case c is conductivity. If it possible to make it that the c=1 region is not effected by any of the physics of the simulation and stays at c = 1 for all time "t" then that would ne even more useful Example code of how i am defining the ICs without the top and bottom c=1 regions: [./concentrationIC] |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hello So are you planning to solve equations on these domains? You can define these simple domains using the ParsedGenerateSubdoamin for example, a mesh generator that goes in your mesh block |
Beta Was this translation helpful? Give feedback.
ICs can be block-restricted using the block parameter.
If it supports block restrictions, then no it should not as long as its block restriction does not include the other subdomains
multiple ICs objects with different block restrictions
good question. I dont imagine so but please check