Page 1 of 1

Problem with ALE

Posted: Tue Nov 22, 2011 2:13 pm
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.

Re: Problem with ALE

Posted: Tue Nov 22, 2011 3:20 pm
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

Re: Problem with ALE

Posted: Tue Nov 22, 2011 4:28 pm
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.

Re: Problem with ALE

Posted: Wed Nov 23, 2011 11:01 am
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

Re: Problem with ALE

Posted: Wed Nov 23, 2011 1:04 pm
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

Re: Problem with ALE

Posted: Wed Nov 23, 2011 6:00 pm
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.

Re: Problem with ALE

Posted: Thu Nov 24, 2011 6:16 pm
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