Skip to content

Allow multiple parameters for custom output function #17

@da-crivelli

Description

@da-crivelli

If a user wants to write their own reduction function (e.g. Galileo - Rankine criterion, or a custom safety factor output) they currently would need to use some post-processing in Paraview or other software.

In a future version this should be possible:

fea.set_outputs([{
            "output_var": ("s1","s2","s3"),
            "reduction_fun": myfun,
        }])

def myfun(s1, s2, s3):
    return something

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions