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

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Yvan Fournier
Posts: 4102
Joined: Mon Feb 20, 2012 3:25 pm

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

Post 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
dimitri14
Posts: 34
Joined: Tue Jan 03, 2023 10:25 am

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

Post 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
Yvan Fournier
Posts: 4102
Joined: Mon Feb 20, 2012 3:25 pm

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

Post 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
dimitri14
Posts: 34
Joined: Tue Jan 03, 2023 10:25 am

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

Post 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
dimitri14
Posts: 34
Joined: Tue Jan 03, 2023 10:25 am

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

Post 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 27 times
Regards
Post Reply