Skip to content
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

Partitioned heat conduction: initialize data for Nutils participants #306

Open
uekerman opened this issue Nov 14, 2022 · 0 comments
Open
Labels
bug good first issue Good for newcomers

Comments

@uekerman
Copy link
Member

The Nutils participants don't initialize data correctly:

if interface.is_action_required(precice.action_write_initial_data()):
precice_write(coupling_sample.eval(0.))
interface.mark_action_fulfilled(precice.action_write_initial_data())

We should instead sample uexact (or its flux) defined further above:

ns.uexact = '1 + x_0 x_0 + alpha x_1 x_1 + beta ?t' # analytical solution

Maybe this also the reason for this FEniCS - Nutils combination issue.

Problem applies to partitioned-heat-conduction and partitioned-heat-conduction-direct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant