Assigning a previous solution to part of the mesh #30821
-
|
Hello, I have an exodus solution file which was solved on a domain of 4x1. I want to use this in another simulation where the domain is 4x3. The 4x1 solution occupies the bottom part of the 4x3 domain and the rest of the 4x2 domain has I used the below snippet: This gives the error - Why are these points being accessed when they are beyond the dimensions of the block? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
Hello This has to do with how we compute the initial conditions using the generic projector algorithm. We basically loop over nodes, then edges and sides and volumes to make sure the variable is continuous, even though multiple ICs are at play here on the two blocks. Note that the nodes are shared between the blocks. I am creating an issue and tentatively have a patch already #30826 (passes your case I think) |
Beta Was this translation helpful? Give feedback.
-
|
@GiudGiud The PR works, but I noticed the shared nodes are not assigned any values - neither from the SolutionIC nor from the ConstantIC. Can this be fixed? |
Beta Was this translation helpful? Give feedback.
Hello
This has to do with how we compute the initial conditions using the generic projector algorithm. We basically loop over nodes, then edges and sides and volumes to make sure the variable is continuous, even though multiple ICs are at play here on the two blocks. Note that the nodes are shared between the blocks.
I am creating an issue and tentatively have a patch already #30826 (passes your case I think)