Skip to content

Delete PostProcessing Views Before PostOperation

Post-processing views are generally created in the PostOperation step by using the Print[ _post-quantity-id<[_group-def_]>, _print-support<,_print-option_> ... ] command. gmsh has a command Delete View[_expression_]; that deletes these post-processing views at the index of expression. I want to run my simulation multiple times, but also clear any existing post-processing views before starting a new simlation. I think the easiset way to do this is in getdp's PostOperation step, before the Print[] commands are called.

In rhombus.pro, we see that the Delete View[ ] is mentioned to do precisely this -- but not explictly called, and indeed, getdp doesn't seem to recognize the command here if not Echo'd.

Is there some way to delete the postprocessing views before a new simulation is run?

Thank you!