Salome HOME
replace 'BOTTOM_FRICTION' by 'BOTTOM FRICTION'
authorPaul RASCLE <paul.rascle@edf.fr>
Thu, 6 Jul 2017 11:17:30 +0000 (13:17 +0200)
committerPaul RASCLE <paul.rascle@edf.fr>
Thu, 6 Jul 2017 11:18:04 +0000 (13:18 +0200)
doc/salome/examples/h019_normalCaseManualInterpolZStrickler.py
doc/salome/tutorial/english/english_landCoverMap.rst
doc/salome/tutorial/interpolStrickler.py
doc/salome/tutorial/landCoverMap.rst
src/HYDROTools/interpolS.py

index e1fedc240c1169a3d624cc4e712dba3b70c3c16f..c4442e856bb742f7f0f6cac7a1bae4bc3ae3968c 100644 (file)
@@ -796,7 +796,7 @@ controlStatZ(statz, refstatz)
 
 # --- add a field on nodes of type double with z values, named "BOTTOM"
 createZfield2(fichierMaillage)
-# --- create a field on nodes of type double with srtickler coefficient values, named "BOTTOM_FRICTION"
+# --- create a field on nodes of type double with srtickler coefficient values, named "BOTTOM FRICTION"
 from salome.hydrotools.interpolS import assignStrickler
 
 fichierFieldZ = os.path.join(tmpdir, 'garonne_1F.med')
index c4f1a7e888aa35cd4ec006eec6e6caa053031dc3..22b754731031f58288793f34ca7feb9df814b974 100644 (file)
@@ -128,7 +128,7 @@ We continue with the *Next>* and *Finish* buttons to validate the case.
 Creating a Strickler field at mesh nodes
 ========================================
 
-TELEMAC can use a field of Strickler coefficients at the nodes of the mesh. This field has the name *BOTTOM_FRICTION*.
+TELEMAC can use a field of Strickler coefficients at the nodes of the mesh. This field has the name *BOTTOM FRICTION*.
 This field is added to the MED file of the mesh, such as the elevation field at the nodes.
 
 You have to manually adapt the script below:
index 8bac9e617f5ad9b3a071e370d4edb510f5a03f4d..80fc6cb4dbcecc2ce3024cb648185e3adcdb21c9 100644 (file)
@@ -11,4 +11,4 @@ fichierMaillage = '/tmp/garonne_1F.med'
 
 from salome.hydrotools.interpolS import assignStrickler
 
-assignStrickler(nomCas, fichierMaillage, '/tmp/garonne_1F.med', 'BOTTOM_FRICTION')
+assignStrickler(nomCas, fichierMaillage, '/tmp/garonne_1F.med', 'BOTTOM FRICTION')
index 608aee521122ce729461378edd87b465508b5b8e..bce8d6c8f80b84d6fb47a40709547dadb72cccdd 100644 (file)
@@ -128,7 +128,7 @@ Nous poursuivons avec les boutons *Next>* et *Finish* pour valider le cas.
 Création d'un champ de Strickler aux noeuds du maillage
 =======================================================
 
-Telemac exploite un champ des coefficients de Strickler aux noeuds du maillage. Ce champ a pour nom *BOTTOM_FRICTION*.
+Telemac exploite un champ des coefficients de Strickler aux noeuds du maillage. Ce champ a pour nom *BOTTOM FRICTION*.
 Ce champ est ajouté au fichier MED du maillage, comme le champ d'altitude aux noeuds.
 
 Il faut adapter manuellement le script ci-dessous :
index 587a45d51cd571c3a3db222a499dcf170623bb52..3376db447abe1009f5fb6c10dafa029de87dfc41 100644 (file)
@@ -30,7 +30,7 @@ med_file_name: path to input MED file with mesh on nodes
 output_file_name: path to output MED file with
 med_field_name: field name
 """
-def assignStrickler(case_name, med_file_name, output_file_name, med_field_name='FRICTION'):
+def assignStrickler(case_name, med_file_name, output_file_name, med_field_name='BOTTOM FRICTION'):
   # Check calculation case
   doc = HYDROPy.HYDROData_Document.Document( theStudyId )
   case = doc.FindObjectByName(case_name)