Problem with ALE

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Nazir Al Sayed

Problem with ALE

Post by Nazir Al Sayed »

Hello, I use the ALE method to study the problem of interaction fluid structureand this is the file TET.Cylindre.xml. When I execute the calculation, I get the following error message on the terminal and the calculation stops:
 code_saturne is running
                      ***********************
 
 Version: 2.1.0
 Path:    /local00/alsayed/Code_Saturne_2.1.0/code_saturne-2.1.0
 
 Result directory:
   /local00/STUDY/CYLINDRE/RESU/20111122-1320
 
 
 Single processor code_saturne simulation.
 
 ****************************************
  Compiling user subroutines and linking
 ****************************************
 
 
 ****************************
  Preparing calculation data
 ****************************
 
 
 ***************************
  Preprocessing calculation
 ***************************
 
 
 **********************
  Starting calculation
 **********************
 
Fortran runtime error: Internal: Attempt to DEALLOCATE unallocated memory.
 solver script exited with status 2.
 
Error running the calculation.
 
Check code_saturne log (listing) and error* files for details.
 
 
 ****************************
  Saving calculation results
 ****************************
 
 Error in calculation stage.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
Do you have an idea to unlock the problem ?
 
Thank you in advance
 
Nazir.
Attachments
TET_Cylindre.xml
(7.52 KiB) Downloaded 228 times
listing.txt
(31.71 KiB) Downloaded 213 times
Mickael Hassanaly

Re: Problem with ALE

Post by Mickael Hassanaly »

Hi Nazir,
 
In your listing file, You have the following warning message :

Code_Saturne : /home/alsayedn/Desktop/Logiciels/installer/code_saturne-2.1.0/src/base/cs_selector.c:356 : Avertissement
Le groupe ou attribut "6" figurant dans le
critère de sélection:
"6"
 ne correspond à aucune face de bord.
 
This should be your problem. Have you got any fortran routine?
 
Best regards
 
Mickaël
Nazir Al Sayed

Re: Problem with ALE

Post by Nazir Al Sayed »

Hello,

Yes I have all the Fortran file .. / src /base/

For cons, I did not use the files for the following FORTRAN modules ALE: usstru.f90,  usalin.f90 usalcl.f90.  I use directly the GUI to impose the ALE method parameters (see attached file cylindre.xml)

I solved the problem I had on the old file listing (attached the new file listing), but I still the same error message:

On the forum, there is an example of the method ALE set palces by Alexander Douce. (http://code-saturne.org/forum/viewtopic.php?f=10&t=945). even this example does not work, same error message.

Do I have to also use the following file: usstru.f90,  usalin.f90 usalcl.f90  to impose the ALE method parameters?  

Thank you.

Nazir.
Attachments
listing.txt
(31.83 KiB) Downloaded 227 times
cylinder.xml
(8.57 KiB) Downloaded 253 times
Mickael Hassanaly

Re: Problem with ALE

Post by Mickael Hassanaly »

Hi Nazir,
You can't just take the example given by Alexandre because you didn't use the same version of Code_Saturne. You have to fill it manually for Code_Saturne 2.1.0.
Best regards
 
Mickaël
Yvan Fournier

Re: Problem with ALE

Post by Yvan Fournier »

Hello,
Once you have updated (rebuilt) your setup/xml file, if the error persists, could you post the xml along with the mesh ? As dynamic memory management was a major change in version 2.1, there may still be a few bugs, so we could re-test your case.
Best regards,
  Yvan Fournier
Nazir Al Sayed

Re: Problem with ALE

Post by Nazir Al Sayed »

Hello,

I placed all the parameters for the fluid-strucutre in the following files: usstru.f90, usalin.f90 & usalcl.f90.
I have always the same error message:
code_saturne is running
***********************

Version: 2.1.0
Path: /local00/alsayed/Code_Saturne_2.1.0/code_saturne-2.1.0

Result directory:
/local00/STUDY/CAS3/RESU/20111123-1700


Single processor code_saturne simulation.

****************************************
Compiling user subroutines and linking
****************************************


****************************
Preparing calculation data
****************************


***************************
Preprocessing calculation
***************************


**********************
Starting calculation
**********************

Fortran runtime error: Internal: Attempt to DEALLOCATE unallocated memory.
solver script exited with status 2.

Error running the calculation.
Attachments
usstru.f90
(17.44 KiB) Downloaded 232 times
usalin.f90
(4.11 KiB) Downloaded 240 times
usalcl.f90
(20.97 KiB) Downloaded 236 times
David Monfort

Re: Problem with ALE

Post by David Monfort »

Hello,
I've recently faces the same problem of memory deallocation.
This will be fixed in a 2.1.1 version that should soon be released.
 
David
Post Reply