-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Simplified heat exchanger tutorial #301
Conversation
Also, this one is transient whereas the other was a steady state computation. It might be worth it to rename the old case like As for the bottom interface, you'd need an additional face set and nodes set. For the node set, you named it (Do we actually want to keep having Calculix meshes defined in hand crafted Python scripts ? Illustrating with a proper meshing tool like gmsh could be a good opportunity, but also some additional work.) |
@boris-martin thanks a lot for the suggestions! I think I made it work. Probably I still have a heat source in CalculiX that I need to disable (how?). This is how it looks at the moment, it still needs some tuning: The top channel has an inlet of 300K and the bottom channel an inlet of 310K. |
What do you mean by heat sources in CalculiX ? there is no volumetric heat source in the case. Unless we manage to get a linear (300 to 310) initial condition through a steady state step (similar to precice/calculix-adapter#101) but that's out of my skill set. (The geometry looks like a spaceship to me :D ) |
I changed both BCs to "0", I did not observe any difference. The interface is not continuous, but the fluid cases look like they make sense. The top fluid gets hotter, the bottom fluid gets cooler. I am confused on why I don't need to synchronize the output files in the same way as we do in the two-participant OpenFOAM-CalculiX tutorial. This hints me towards visualization issues. If I make both fluids have 300K inlets, it looks like they are both cooling the hot solid ( Setting the initial condition to 305K leads to a bit smoother results, but still not continuous.
I guess what we really need is a better initial state (a linear distribution, as you described). But why does the two participant case behave better? |
That's surprising, I would expect a fully symmetric result. Are the two fluids meshes similar in terms of resolution etc? |
Good point. Indeed, we have a much finer mesh next to the interface in the top participant, I forgot to update that. I will try again. |
b1fdd1f
to
ae1ba36
Compare
@IshaanDesai could you please have a look at this and check if you see anything suspicious? Consider the following:
|
Corresponding PR in the website: precice/precice.github.io#221 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran the case till the end (t = 5
) and the results look correct and so do the case files.
I think the pictures provided in this PR are very useful and it would be nice to also have them somewhere in the documentation. @IshaanDesai , @davidscn , @MakisH : Does anybody of you by chance have some pictures of the result that we could add in the |
Sadly do not have pictures already, but I guess it should be straightforward to run the case and create some good pictures? |
I should have included a picture already when I contributed, but missed it. I also need this often, so I will add one. |
This adds a simplified heat exchanger tutorial, essentially extending the OpenFOAM-CalculiX flow-over-heated-plate tutorial with another channel below the plate.
Compared to the heat exchanger tutorial:
This is currently a draft. Open points:
README.md
(suggestions welcome)The configuration file looks like this:
To test, it requires the bugfix implemented in precice/calculix-adapter#108