Skip to content

Consolidate flux output

Tom Fischer requested to merge TomFischer/ogs:ConsolidateFluxOutput into master

Fixes: Bad coding.

The output of the mesh containing the flux data was separately handled from the output of all the other meshes. The MR corrects this / make the behaviour consistent. This makes it possible to delete dependencies that are no longer necessary and to clean up the code. The project file section which specifies the surface flux has to be adapted for this purpose.

Old

<calculatesurfaceflux>
    <mesh>cube_1x1x1_hex_1e3_complete_surface</mesh>
    <property_name>specific_flux</property_name>
    <output_mesh>cube_1x1x1_hex_1e3_complete_surface_left_right_dirichlet_specific_flux.vtu</output_mesh>
</calculatesurfaceflux>

New

<calculatesurfaceflux>
    <mesh>cube_1x1x1_hex_1e3_complete_surface</mesh>
    <property_name>specific_flux</property_name>
</calculatesurfaceflux>

Additionally, it is necessary to specify the cube_1x1x1_hex_1e3_complete_surface in the output section of the project file.

Merge request reports