Page 2 of 2

Re: use a deformed mesh (med file)to restart code saturne calculation

Posted: Wed Feb 28, 2024 12:08 am
by Yvan Fournier
Hello,

If I understand correctly your issue is about converting a MED file to an older MED version ?

The simplest solution (to avoid this) is to build code_saturne with the same MED version as code_aster, or vice-versa.

It might also be possible to modify code_saturne's MED output to write in a compatility mode with older versions
(I think there is an option for this in the MED library, I need to check).

Otherwise, SALOME's SMESH took can let you choose the output format, but loose the field values. You might try writing to MED Format from PARAVIS (I do not remember if it lets you choose the output version).

Best regards,

Yvan

Re: use a deformed mesh (med file)to restart code saturne calculation

Posted: Thu Feb 29, 2024 7:06 pm
by dimitri14
Thanks Yvan for the advices. However, i have tried to use paravis but i did not manage to export in med file, and i didn’t succeed in modifying code_saturne's MED output
Do you think it is paossible to remove med library 4.1.1folder and replace it by 4.0.1 version in the installation directory?
Regards
Dimitri

Re: use a deformed mesh (med file)to restart code saturne calculation

Posted: Mon Mar 04, 2024 10:47 am
by Yvan Fournier
Hello,

It is possible but I would recommend re-buildi g and installing code_saturne with that version also.

Best regards,

Yvan

Re: use a deformed mesh (med file)to restart code saturne calculation

Posted: Mon Mar 11, 2024 10:31 am
by dimitri14
Thank you for your help Yvan
I have tried to replace med library in many different ways but it still not working (installation failled)
I 'll try to do this with the help of some programmer and if i succes i'll keep you in touch
Thank you for all
Regards

Re: use a deformed mesh (med file)to restart code saturne calculation

Posted: Thu Apr 18, 2024 11:43 am
by dimitri14
Ok i have fixed med format problem
I have a last request concerning the process (cf pdf in attachment file)
When using the restart programm (with inputmesh, auxilliary and main) should i use deformed or un deformed mesh in the gui mesh window ?
question.pdf
(130.92 KiB) Downloaded 8 times
Regards