An iteration is the process that transform a mesh to another one into a case. An iteration implies refinement and/or unrefinement, following the associated hypothesis.
hypothesis
- An hypothesis describes the conditions that governs the modification from a mesh to another one: refinement and/or unrefinement, etc. An hypothesis is referenced by 1 or more iterations.
+ A hypothesis describes the conditions that governs the modification from a mesh to another one: refinement and/or unrefinement, etc. A hypothesis is referenced by 1 or more iterations.
field
A field is expressed over a mesh, onto node or element, with 1 or more components.
The field
*********
-To create or use an hypothesis of adaptation based on a field expressed on the mesh, one must provide the file where the field is. It is also the case if one wants to interpolate fields from mesh #N to the mesh #(N+1). This file is with format MED. Classically, it will have been produced by the computation software with which one works. The name of the file can be provided, either by typing the name in the zone of text, or by activating the function of research.
+To create or use a hypothesis of adaptation based on a field expressed on the mesh, one must provide the file where the field is. It is also the case if one wants to interpolate fields from mesh #N to the mesh #(N+1). This file is with format MED. Classically, it will have been produced by the computation software with which one works. The name of the file can be provided, either by typing the name in the zone of text, or by activating the function of research.
.. image:: images/create_iteration_2.png
:align: center
The hypothesis
**************
-The iteration in progress will control the adaptation by HOMARD according to a scenario defined on an hypothesis. This one is selected in the list of the existing hypotheses.
+The iteration in progress will control the adaptation by HOMARD according to a scenario defined on a hypothesis. This one is selected in the list of the existing hypotheses.
With starting, it is necessary to create a first hypothesis by activation of the button "*New*" (see: :doc:`gui_create_hypothese`) :
.. image:: images/create_iteration_4.png
:align: center
-Then, if an hypothesis previously defined is appropriate, it is enough to select it in the proposed list. If not, it is necessary to create a new hypothesis by activation of the button "*New*", then to select it in the proposed list:
+Then, if a hypothesis previously defined is appropriate, it is enough to select it in the proposed list. If not, it is necessary to create a new hypothesis by activation of the button "*New*", then to select it in the proposed list:
.. image:: images/create_iteration_5.png
:align: center
Look at :doc:`gui_create_hypothese`
.. warning::
- With the graphical input mode, if an hypothesis is edited and if one of the characteristic is modified, the value of the threshold for the refinement for example, all the iterations that were computed with this hypothesis are unvalidated. In python mode, that is not true: the iterations stay as they are.
+ With the graphical input mode, if a hypothesis is edited and if one of the characteristic is modified, the value of the threshold for the refinement for example, all the iterations that were computed with this hypothesis are unvalidated. In python mode, that is not true: the iterations stay as they are.
| .. module:: AssociateHypo |
| |
| **AssociateHypo(hypo_name)** |
-| Associate an hypothesis with the iteration |
+| Associate a hypothesis with the iteration |
| |
| - ``hypo_name``: the name of the hypothesis |
+---------------------------------------------------------------+
</size>
</property>
<property name="windowTitle">
- <string>Create an hypothesis</string>
+ <string>Create a hypothesis</string>
</property>
<property name="widgetResizable">
<bool>true</bool>
</message>
<message>
<source>HOM_ITER_HYPO</source>
- <translation>An hypothesis must be selected.</translation>
+ <translation>A hypothesis must be selected.</translation>
</message>
<message>
<source>HOM_ITER_FIELD_FILE</source>
</message>
<message>
<source>HOM_HYPO_EDIT_WINDOW_TITLE</source>
- <translation>Edition of an hypothesis</translation>
+ <translation>Edition of a hypothesis</translation>
</message>
<message>
<source>HOM_ZONE_NAME</source>
<translation>Hypothèse</translation>
</message>
<message>
- <source>Create an hypothesis</source>
+ <source>Create a hypothesis</source>
<translation>Création d'une hypothèse</translation>
</message>
<message>
<translation>Cette itération ne peut pas être détruite.</translation>
</message>
<message>
- <source>This zone is used in an hypothesis and cannot be deleted.</source>
+ <source>This zone is used in a hypothesis and cannot be deleted.</source>
<translation>Cette zone est utilisée dans une hypothèse ; elle ne peut pas être détruite.</translation>
</message>
<message>
<translation>Hypothesis</translation>
</message>
<message>
- <source>Create an hypothesis</source>
+ <source>Create a hypothesis</source>
<translation>hypothesis の作成</translation>
</message>
<message>
<translation>このイテレーションは削除できません。</translation>
</message>
<message>
- <source>This zone is used in an hypothesis and cannot be deleted.</source>
+ <source>This zone is used in a hypothesis and cannot be deleted.</source>
<translation>このゾーンはhypothesisで使用されており、削除できません。</translation>
</message>
<message>
{
SALOME::ExceptionStruct es;
es.type = SALOME::BAD_PARAM;
- es.text = "This zone is used in an hypothesis and cannot be deleted.";
+ es.text = "This zone is used in a hypothesis and cannot be deleted.";
throw SALOME::SALOME_Exception(es);
return 2 ;
};
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2011-2016 CEA/DEN, EDF R&D
#
Python script for HOMARD
Test test_6
"""
-__revision__ = "V1.04"
+__revision__ = "V1.05"
#========================================================================
TEST_NAME = "test_6"
# 5. Export MED
#
ficmed = os.path.join(rep_mail,'maill.00.med')
- texte = "Ecriture du fichier '%s'" % ficmed
if verbose :
+ texte = "Ecriture du fichier '%s'" % ficmed
print (texte)
maill_00.ExportMED( ficmed, 0, SMESH.MED_V2_2, 1 )
#
le_cas.SetDirName(DIRCASE)
le_cas.AddBoundary(cao_name)
#
- # Creation of the iterations
- # ==========================
+ # Creation des iterations
+ # =======================
if verbose :
option = 2
else :