Updating old moose simulation #26184
Replies: 5 comments 17 replies
-
Hello We have changed vector parameters to no longer have a default recently. So if you had one of these, or a coupledVar parameter, and you were retrieving it without setting it it now errors Guillaume |
Beta Was this translation helpful? Give feedback.
-
changed it to this and still the same error. I think pps was used just for consistency and it shouldnt effect the code, right? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Ok I found the problem First the values are not retrieved with the right name. You need to do this in the initializer list:
Then the main problem, validParams has the wrong definition
and in the header
|
Beta Was this translation helpful? Give feedback.
-
You need to order the intializer list in the constructor the same way that things are declared in the header
|
Beta Was this translation helpful? Give feedback.
-
Hi everybody. I am new to moose and I am currently trying to Update an older simulation (I think it was originally created in 2018, executed again in 2020). Apparently moose has changed quite a lot which is why I had to update some parts. There were some customs kernels which I have been able to update and implement. However, when I now want to run the input file I keep getting the following error:
The parameter is calculated by a postprocessor and should then be sent to a BC. The parameter is not set before the boundary condition is being calculated. I have tried a couple of things including just deleting this part of the input file
which then leads to a functioning simulation.
I have read that when I put 'execute_on='NONE'' that the part wouldn't be executed. When I do that, I still get the same error.
I am also not aware what has changed with moose since the simulation worked in 2020 as far as I know without any errors..
So now I am thinking: does the execute_on not work? I have included my files (Kernels mesh and input files.)
Thank you so much for looking over this!
https://github.com/Liserion/moose_project
Beta Was this translation helpful? Give feedback.
All reactions