comsol LiveLink for MATLAB: output solutions on a specific line (in reference or current configuration)

5 visualizaciones (últimos 30 días)
In a 3D comsol model, how to output the solution on a specific line (in reference or current configuration)? In .mph comsol models, it's like the
comp1.at3
command that is equivalent.

Respuesta aceptada

Sivsankar
Sivsankar el 24 de En. de 2025
To output the solution along a specific line, you can utilize the 'mphinterp' LiveLink API. This API allows you to evaluate expressions across arbitrary points. For more information on how to implement this API, please refer to the following COMSOL documentation:
Reviewing the examples on this page will provide you with a better understanding.
I hpe this helps!
  1 comentario
feynman feynman
feynman feynman el 24 de En. de 2025
thank you very much! I don't know if you have experience with 'cutline' data through and then with mphinterp: cln = model.result.dataset.create('cln', 'CutLine3D');
It seems that by default the output data is not on the FE mesh, so the user has to specify the coordinates?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Multibody Dynamics en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by