Club two fields with same mesh support into one from .med file

Hello,

Thanks for putting effort to create paraview.

I use salome_meca to create rmed files that I wish to read in paraview.

The issue is that sometimes med are created with many distinct “ComSup’“ by code_aster as shown below.

Here both cannot be selected simultaneously. Ideally I wish both to be clubbed/joined together as One Point Field like below.

So that I can use “Warp by Vector” filter of paraview to animate stress contours(result_SIEQ_NOEU) while the mesh is deformed by result_DEPL vector for all time steps.

Both fields have same mesh.

I have tried various techniques like Append Attributes, Group datasets, Resample with dataset etc. but could not achieve the above result. Some results with partial_prefix is created but when “Warp by Vector” is used , the drop down doesn’t have result_DEPL.

Tried with paraview latest as well as old versions.

I attach sample med file here with distinct fields.

example_paraview_forum.med (4.5 MB)

Pease if someone can help how to solve this problem.

Much thanks and Regards

Anirudh Nehra

Update:

It is working now using resample with dataset .Isurely missed the check box like pass field arrays . Selected all of those and it worked.

I have another issue.I also used CAST3M FEA software to export results of a simulation “PASAPAS” using “SORT MED” function. It creates a med file with again distinct fields as shown below. One is ELNO field called “CONTRAINTES”, Others are distinct Point field called “DEPLACEMENTS”, “ACCELERATIONS“, “VITESSES”

How can I join distinct fields also as requested above? Specifically merging ELNO cell fields and Point fields. So that I get all as Point Fields Under just one ComSup.

Attaching a sample med output file from cast3m

pp.med (451.0 KB)

Much thanks and Regards

Anirudh Nehra