-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Elmer as a fluid and solid participant to the flow-over-heated-plate tutorial #565
base: develop
Are you sure you want to change the base?
Conversation
Nice! |
Co-authored-by: tapegoji
Co-authored-by: @tapegoji
@tapegoji I added you as contributor via an empty commit so that you will show up at the appropriate places, like the future release of the tutorials. Additionally here is the error I face when trying to run the ListTagKeywords: No parameters width suffix: normalize by volume
ERROR:: LoadMesh: Requested mesh > Fluid_Participant_Mesh < does not exist!
STOP 1 I compiled the adapter and manually copied the |
Hi, it looks like the name in case.sif file is different that the name in precice-config.xml file. If you want we can have a google meet to resolve this. my time is US MDT. |
I managed to run the Elmer participants, and as a first attempt I tried out CouplerSolver: Reading the data from preCICE
CouplerSolver: Ended
MAIN: *** Elmer Solver: ALL DONE ***
MAIN: The end
SOLVER TOTAL TIME(CPU,REAL): 5.24 34.48
ELMER SOLVER FINISHED AT: 2024/10/23 09:23:03
corrupted double-linked list
Program received signal SIGABRT: Process abort signal.
Backtrace for this error:
#0 0x77920e8c5960 in ???
#1 0x77920e8c4ac5 in ???
#2 0x77920e6bb51f in ???
... From the logs one can see that the coupling is not converging in a time window. Looking into the Elmer adapter a bit I saw that there is no real checkpointing in the main adapter file Coupler_Solver.F90. This can be one reason why the coupling does not converge. @tapegoji is there an implementing of checkpointing of values that I am missing? Did you manage to run the flow over heated plate tutorial at some point? |
I did not implement the checkpoint, I don't recall why I commented them out; I think for simplicity. Yes, I ran the original case and it worked. I have to say, this was a few months ago and I have not tried it recently. That being said, from the log file I see here, it looks like that Elmer finished normally. The error that is here is that because the coupler does terminate properly. I think when preCICE is done, we should add a check point in the Elmer_adapter so that, it releases all the memory and terminates properly. does that make sense? |
Looking at the adapter code again, this actually makes sense. I would now merge the adapter PR and continue testing this. |
That's exactly the purpose of |
Okay, so we have that in that code. I think the problem was that Elmer was not de-allocating the memory when the coupling was finished. |
I tested both |
Ishaan, Thanks |
Checkpointing is different that what was added to ensure that the simulation does not crash at the end. Let's discuss over a call 👍 |
In a contribution to the Elmer adapter, the Elmer case setup for fluid and solid participants for the flow-over-heated-plate tutorial were updated: precice/elmer-adapter#4 Until now the entire tutorial lived in the adapter repository, but as part of the current update, it is now being moved to the tutorials repository, to ensure maintainability.
The updates were done by @tapegoji
Checklist:
changelog-entries/<PRnumber>.md
.