Skip to content

Commit a2dd053

Browse files
committed
Some changes
1 parent 04eea32 commit a2dd053

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

kratos.gid/apps/PfemFluid/write/write.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ proc PfemFluid::write::writeMeshes { } {
5959
}
6060
# Solo Malla , no en conditions
6161
writeNodalConditions [GetAttribute nodal_conditions_un]
62-
writeWaveMonitorMesh
62+
#writeWaveMonitorMesh
6363

6464

6565
}

kratos.gid/apps/PfemFluid/write/writeProjectParameters.tcl

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ proc PfemFluid::write::GetPFEM_OutputProcesses { } {
161161
set resultList [dict create]
162162

163163
set output_process_list [GetPFEM_OutputProcessList]
164-
dict lappend resultList output_list $output_process_list
165-
164+
#dict lappend resultList output_list $output_process_list
165+
dict set resultList output_list $output_process_list
166166
return $resultList
167167
}
168168

@@ -190,8 +190,9 @@ proc PfemFluid::write::GetPFEM_WaveParameters { group } {
190190

191191
set parametersWave [dict create]
192192

193-
set group_id [::write::getSubModelPartId WaveMonitor [$group @n]]
194-
dict set parametersWave model_part_name [write::GetModelPartNameWithParent $group_id PfemFluidModelPart]
193+
#set group_id [::write::getSubModelPartId WaveMonitor [$group @n]]
194+
#dict set parametersWave model_part_name [write::GetModelPartNameWithParent $group_id PfemFluidModelPart]
195+
dict set parametersWave model_part_name "PfemFluidModelPart"
195196

196197
set coordinates [list ]
197198
foreach node [GiD_EntitiesGroups get [$group @n] nodes ] {
@@ -206,8 +207,8 @@ proc PfemFluid::write::GetPFEM_WaveParameters { group } {
206207
dict set parametersWave wave_calculation_settings $WaveCalculationSetting
207208

208209
set OutputFileSettings [dict create]
209-
dict set OutputFileSettings "file_name" "pfem_<i>"
210-
dict set OutputFileSettings "output_path" "gauges"
210+
dict set OutputFileSettings "file_name" "gauge_<i>"
211+
dict set OutputFileSettings "output_path" [write::getValueByNodeChild $group FolderName]
211212
dict set parametersWave output_file_settings $OutputFileSettings
212213

213214
dict set parametersWave "time_between_outputs" [write::getValueByNodeChild $group TimeBetweenOutputs]

kratos.gid/apps/PfemFluid/xml/Results.spd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@
1010
<value n="NodeOutput" pn="Node output" v="Yes" values="Yes,No" help="The nodes are printed as a separate layer" icon="data"/>
1111
<value n="SkinOutput" pn="Skin output" v="No" values="Yes,No" help="" state="hidden" icon="data"/>
1212
<condition n="WaveMonitor" pn="Wave Monitor" ov="point" ovm="node" un="WaveMonitor" icon="select" help="Activate the results you want to set wave gauges" >
13-
<!-- <value n="UseWaveMonitor" pn="Add Wave Gauges" type="bool" values="true,false" v="false" icon="data" /> -->
14-
<!-- <value n="Coordinates" pn="Coordinates" icon="data" fieldtype="vector" dimensions="3" format="%.6g" v="0.0,0.0,0.0" help="Coordinates of the wave gauges"/> -->
1513
<value n="MeanWaterLevel" pn="Mean Level" icon="data" v="0" help="Water Level"/>
16-
<value n="RelativeSearchRadius" pn="Relative Search Radius" icon="data" v="2" help="Relative versus element size"/>
17-
<value n="TimeBetweenOutputs" pn="Output Time" icon="data" v="0.01" help="Time between following measures"/>
14+
<value n="RelativeSearchRadius" pn="Relative Search Radius" icon="data" v="2" help="Relative value versus element size"/>
15+
<value n="TimeBetweenOutputs" pn="Output Time" icon="data" v="0.01" help="Time between two consecutive measures"/>
16+
<value n="FolderName" pn="Gauges Folder Name" icon="data" v="WaveMeasures" help="Name of the folder that will contain the results"/>
1817
</condition>
1918
<container n="OnElement" pn="Elemental Results" un="ElementResults" icon="select" help="Activate the results you want to see in the elements" open_window="0">
2019
<!--<dynamicnode command="spdAux::injectElementOutputs" args=""/>-->

0 commit comments

Comments
 (0)