doc:user:results:courbes_res
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:user:results:courbes_res [2019/08/14 21:36] – [Extracting analysis values (MiscValueExtractor)] wautelet | doc:user:results:courbes_res [2026/03/09 14:32] (current) – [ValuesManager] papeleux | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| valuesmanager = metafor.getValuesManager() | valuesmanager = metafor.getValuesManager() | ||
| - | valuesmanager.add(nbr, extractor, name = "" | + | valuesmanager.add(no, extractor, name = "" |
| - | valuesmanager.add(nbr, extractor, v2sOp, name = "" | + | valuesmanager.add(no, extractor, v2sOp, name = "" |
| valuesmanager.getDataVector(nbr) | valuesmanager.getDataVector(nbr) | ||
| # (for example to create and view curves) | # (for example to create and view curves) | ||
| valuesmanager.setOnFile(False) | valuesmanager.setOnFile(False) | ||
| # .v and .ascii files | # .v and .ascii files | ||
| + | # option by curve | ||
| + | valuesmanager(no).setExport2Ascii(True/ | ||
| + | valuesmanager(no).setExport2Npy(True/ | ||
| + | valuesmanager(no).setExportInterval(1) | ||
| + | # | ||
| + | # global options | ||
| + | # (BE CAREFULL THAT THEY ARE ONLY APPLIED ON CURVES ALLREADY DEFINED) | ||
| + | valuesmanager.setExport2Ascii(True/ | ||
| + | valuesmanager.setExport2Npy(True/ | ||
| + | valuesmanager.setExportInterval(1) | ||
| + | | ||
| + | | ||
| | | ||
| where | where | ||
| - | | '' | + | | '' |
| | '' | | '' | ||
| | '' | | '' | ||
| Line 52: | Line 64: | ||
| ===== FacValuesManager ===== | ===== FacValuesManager ===== | ||
| - | The '' | + | The '' |
| - | To access the '' | + | To access the '' |
| - | | + | |
| | | ||
| <note important> | <note important> | ||
| + | ===== StageValuesManager ===== | ||
| + | The '' | ||
| + | |||
| + | To access the '' | ||
| + | |||
| + | stageValuesManager = metafor.getStageValuesManager() | ||
| + | |||
| + | <note important> | ||
| ===== ValueExtractor ===== | ===== ValueExtractor ===== | ||
| Line 120: | Line 140: | ||
| Extract values stored in the data base, On geometrically defined point (positions, displacements, | Extract values stored in the data base, On geometrically defined point (positions, displacements, | ||
| - | valueExtractor = DbGeoPointValueExtractor (pointList, | + | valueExtractor = DbGeoPointValueExtractor (pointList, |
| + | valueExtractor = DbGeoPointValueExtractor (pointList, meshedObjectList, field) | ||
| valueExtractor.setEulerian(True) | valueExtractor.setEulerian(True) | ||
| valueExtractor.setOutsideTol(tol) | valueExtractor.setOutsideTol(tol) | ||
| Line 126: | Line 147: | ||
| where | where | ||
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| + | | '' | ||
| Line 136: | Line 158: | ||
| pt102 = pointset.define(102, | pt102 = pointset.define(102, | ||
| - | dyPt102 = DbGeoPointValueExtractor([pt102, | + | dyPt102 = DbGeoPointValueExtractor([pt102, |
| dyPt102.setEulerian(True) | dyPt102.setEulerian(True) | ||
| dyPt102.setOutsideTol(0.5) | dyPt102.setOutsideTol(0.5) | ||
| Line 146: | Line 168: | ||
| Value are interpolated from Integration Points Values. | Value are interpolated from Integration Points Values. | ||
| - | valueExtractor = IFGeoPointValueExtractor (pointList, | + | valueExtractor = IFGeoPointValueExtractor (pointList, |
| + | valueExtractor = IFGeoPointValueExtractor (pointList, meshedObjectList, InternalField) | ||
| valueExtractor.setEulerian(True) | valueExtractor.setEulerian(True) | ||
| valueExtractor.setOutsideTol(tol) | valueExtractor.setOutsideTol(tol) | ||
| Line 152: | Line 175: | ||
| where | where | ||
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| + | | '' | ||
| __Example: | __Example: | ||
| pt102 = pointset.define(102, | pt102 = pointset.define(102, | ||
| - | eplPt102 = IFGeoPointValueExtractor([pt102, | + | eplPt102 = IFGeoPointValueExtractor([pt102, |
| eplPt102.setEulerian(True) | eplPt102.setEulerian(True) | ||
| eplPt102.setOutsideTol(0.5) | eplPt102.setOutsideTol(0.5) | ||
| | | ||
| - | === GeoPtValueExtractor | + | === StrainGaugeValueExtractor |
| - | Extract fields at a given position. Interpolates nodal value of the corresponding element. These nodal values are either variables stored | + | It is possible to modelize |
| - | valueExtractor = GeoPtValueExtractor | + | valueExtractor = BiotStrainGaugeValueExtractor(listPt, |
| - | valueExtractor = GeoPtValueExtractor | + | valueExtractor = BiotStrainGaugeValueExtractor(listPt, meshedObjectList) |
| + | valueExtractor = GLStrainGaugeValueExtractor(listPt, | ||
| + | valueExtractor = GLStrainGaugeValueExtractor(listPt, meshedObjectList) | ||
| + | valueExtractor = NatStrainGaugeValueExtractor(listPt, meshedObject) | ||
| + | valueExtractor | ||
| where | where | ||
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | and if $\lambda = \frac{l}{l_0}$ |
| + | | BiotStrainGaugeValueExtractor | $\epsilon | ||
| + | | GLStrainGaugeValueExtractor | ||
| + | | NatStrainGaugeValueExtractor | ||
| - | __Example: | ||
| - | |||
| - | valuesmanager.add(8, | ||
| - | |||
| - | Extract a result curve numbered 8 defined by the temperature in points 1 and 2. This curve is named '' | ||
| === TdFieldValueExtractor === | === TdFieldValueExtractor === | ||
| Line 256: | Line 282: | ||
| | | 3D : Topological volume | | | | 3D : Topological volume | | ||
| | '' | | '' | ||
| - | | | '' | + | | | if ifield = TX, TY or TZ the extractor computes the current position of the Integration Point | |
| - | | | '' | + | |
| - | | | '' | + | |
| - | :!: works, but :!::!::!: | + | :!: works, but it is difficult to select the topoCell |
| - | ==== Extracting elementary values ==== | + | === IFGPInteractionValueExtractor=== |
| + | |||
| + | Extract values of [[doc: | ||
| + | |||
| + | valueExtractor = IFGPInteractionValueExtractor(inter, | ||
| + | |||
| + | where | ||
| + | |||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==== Extracting | ||
| === IFElementValueExtractor === | === IFElementValueExtractor === | ||
| Line 275: | Line 313: | ||
| | | 2D : Topological face | | | | 2D : Topological face | | ||
| | | 3D : Topological volume | | | | 3D : Topological volume | | ||
| - | | '' | + | | '' |
| + | |||
| + | :!: works, but selection of the topoCell may be difficult :!::!::!: | ||
| + | |||
| + | === IFElementsValueExtractor === | ||
| + | |||
| + | Extract values of [[doc: | ||
| + | |||
| + | valueExtractor = IFElementsValueExtractor (inter, ifield) | ||
| + | |||
| + | where | ||
| + | |||
| + | | '' | ||
| + | | '' | ||
| - | :!: works, but :!::!::!: | ||
| ==== Extracting analysis values (MiscValueExtractor) ==== | ==== Extracting analysis values (MiscValueExtractor) ==== | ||
| Line 297: | Line 347: | ||
| | | '' | | | '' | ||
| | | '' | | | '' | ||
| - | |||
| | | '' | | | '' | ||
| | | '' | | | '' | ||
| - | |||
| | | '' | | | '' | ||
| | | '' | | | '' | ||
| - | |||
| | | '' | | | '' | ||
| | | '' | | | '' | ||
| - | |||
| | | '' | | | '' | ||
| | | '' | | | '' | ||
| Line 838: | Line 884: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | * '' | + | * '' |
| * '' | * '' | ||
| * '' | * '' | ||
| * '' | * '' | ||
| * '' | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| * '' | * '' | ||
| * '' | * '' | ||
doc/user/results/courbes_res.1565811403.txt.gz · Last modified: by wautelet
