-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Follow naming convention in partitioned heat conduction - FEniCS #459
Follow naming convention in partitioned heat conduction - FEniCS #459
Conversation
@MakisH I think the order in the OpenFOAM cases was incorrect. Fixed it. For the other cases we also need an update, but maybe this is also a good first issue? Should be relatively simple to do and is still a valuable contribution. |
precice = Adapter(adapter_config_filename="precice-adapter-config.json") | ||
|
||
if problem is ProblemType.DIRICHLET: | ||
precice = Adapter(adapter_config_filename="precice-adapter-config-D.json") | ||
precice.initialize(coupling_boundary, read_function_space=V, write_object=f_N_function) | ||
precice_dt = precice.get_max_time_step_size() | ||
elif problem is ProblemType.NEUMANN: | ||
precice = Adapter(adapter_config_filename="precice-adapter-config-N.json") | ||
precice.initialize(coupling_boundary, read_function_space=W, write_object=u_D_function) | ||
precice_dt = precice.get_max_time_step_size() | ||
|
||
precice_dt = precice.get_max_time_step_size() | ||
dt = Constant(0) | ||
dt.assign(np.min([fenics_dt, precice_dt])) |
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 like the fact that the new structure simplifies the mapping of solver to config file 👍
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.
Thank you for fixing this! I will update the structure specification as well.
The openfoam-solver
was there before we come up with some kind of naming convention for solver directories. Thank you for fixing that as well!
Changes look good. This will not create conflicts with any other PR, right?
edit: Not an issue (but PR), therefore also not a good-first-issue.
No. Should be fine.
Do you think we can find somebody to take care about the rest? It's a nice-to-have and currently don't want to prioritize this. So let's either take care about all cases soon or directly merge and take care about the rest later (feel free to merge). |
Let's open an issue for that, with a checklist of which cases need to be restructured. I would already merge this one, to let other PRs come as well. |
As discussed in precice/tutorials#228 and partially implemented in precice/tutorials#459 Also updates minor aspects in the whole page (and introduces an intentional typo).
I consider this ready to merge. I prepared an overview regarding the rest of the cases here: #461 |
Unintentionally deleted in precice#459 as a result of a wrong gitignore
With the changes applied here and in #477 the |
I don't see how it could be at all an issue of the renaming, but it indeed does not compile for me anymore:
I don't remember when was the last time I tested this case, probably not when merging this, given that I needed to restore the |
Fixed incorrect order for OpenFOAM
Updated structure to the one provided here for FEniCS.
Other cases are still missing.