THM slow for large number of subdomains #32311
Unanswered
jvwilliams23
asked this question in
Q&A Modules: Thermal Hydraulics
Replies: 2 comments 4 replies
-
|
Profiler output
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi fellow Josh!
So are you using an old executable too? We made changes to the volume junction since then so that it doesn't introduce a new scalar variable for each junction. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am running an old THM script very similar to those in #25555. What I am finding, is that for a large number of channels/junctions (even when number of elements per channel is very low), the solve is very slow (initialisation is also a bit slow, but it is not prohibitive). Do you think there is any potential fix for this? @GiudGiud @joshuahansel
See the two test cases:
100 channels, each with
n_elem=32(3299 elements and 199 subdomains). Setting up time = 4.9 s. Execution time = 5.16 s.straight-pipe-100.i.txt
800 channels each with
n_elem=4(3999 elements and 1599 subdomains). Setting up time = 318.65 s. Execution time = 296.3 s. straight-pipe-800.i.txt(extra test) 100 channels with
n_elems=100(100099 elements and 199 subdomains). Setting up time = 21 s. Execution time = 53 s.I am profiling it now, I will post the output below.
Thanks,
Josh
test-2 log:
Beta Was this translation helpful? Give feedback.
All reactions