You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method export_to_vtk of the class PostProcessManager accepts the arguments additional_logical_functions and additional_physical_functions that can be used for instance to pass the exact solution and plot the error.
However, at the moment this feature can only be used with time-independent simulations (static fields).
In the case of a time-dependent simulation, it should be possible to pass the argument: additional_physical_functions={'exact_solution': lambda ti: lambdify(Omega.coordinates, solution(ti), modules='numpy')}
The text was updated successfully, but these errors were encountered:
The method
export_to_vtk
of the classPostProcessManager
accepts the argumentsadditional_logical_functions
andadditional_physical_functions
that can be used for instance to pass the exact solution and plot the error.However, at the moment this feature can only be used with time-independent simulations (static fields).
In the case of a time-dependent simulation, it should be possible to pass the argument:
additional_physical_functions={'exact_solution': lambda ti: lambdify(Omega.coordinates, solution(ti), modules='numpy')}
The text was updated successfully, but these errors were encountered: