Skip to content

Partitioned heat conduction: initialize data for Nutils participants #306

@uekerman

Description

@uekerman

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions