Skip to content

Commit

Permalink
hotfix results
Browse files Browse the repository at this point in the history
  • Loading branch information
jginternational committed Feb 10, 2022
1 parent bf808c4 commit ca8ab2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions kratos.gid/apps/PfemFluid/write/writeProjectParameters.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ proc PfemFluid::write::getNewParametersDict { } {
# dict set projectParametersDict output_configuration [write::GetDefaultOutputDict]
set xpath [spdAux::getRoute Results]
dict set projectParametersDict output_configuration [write::GetDefaultOutputGiDDict PfemFluid $xpath]
dict unset projectParametersDict output_configuration folder_name
dict set projectParametersDict output_configuration result_file_configuration nodal_results [write::GetResultsByXPathList [spdAux::getRoute NodalResults]]
dict set projectParametersDict output_configuration result_file_configuration gauss_point_results [write::GetResultsList ElementResults]

Expand Down
7 changes: 4 additions & 3 deletions kratos.gid/apps/PfemFluid/xml/Results.spd
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@
<container n="OnElement" pn="On element" un="ElementResults" icon="select" help="Activate the results you want to see in the elements" open_window="0">
<!--<dynamicnode command="spdAux::injectElementOutputs" args=""/>-->
<!--<dynamicnode command="spdAux::injectConstitutiveLawOutputs" args=""/>-->
<value n="CAUCHY_STRESS_VECTOR" pn="Cauchy stress vector" v="No" values="Yes,No"/>
<value n="YIELDED" pn="Yielded" v="No" values="Yes,No"/>
<value n="CAUCHY_STRESS_VECTOR" pn="Cauchy stress vector" v="No" values="Yes,No"/>
<value n="YIELDED" pn="Yielded" v="No" values="Yes,No"/>
</container>
<container n="OnNodes" pn="On nodes" un="NodalResults" icon="select" help="Activate the results you want to see in the nodes" open_window="0">
<value n="PARTITION_INDEX" pn="Partition index" v="Yes" values="Yes,No" help="" state="[checkStateByUniqueName ParallelType MPI]"/>
<dynamicnode command="spdAux::injectNodalConditionsOutputs" args=""/>
<!--<value n="ACCELERATION" pn="Acceleration" v="No" values="Yes,No" state="[checkStateByUniqueName PFEMFLUID_DomainType Fluids]"/>-->
<!--<value n="ACCELERATION" pn="Acceleration" v="No" values="Yes,No" state="[checkStateByUniqueName PFEMFLUID_DomainType Fluids]"/>-->
</container>
<container n="GiDOptions" pn="Options" un="GiDOptions" help="GiD postprocess options" open_window="0" icon="select">
<value n="FolderName" pn="Folder name" v="gid_output" help="This folder will be created to store the GiD results" />
<value n="GiDPostMode" pn="Result format" v="GiD_PostBinary" values="GiD_PostBinary,GiD_PostAscii,GiD_PostAsciiZipped" dict="GiD_PostBinary,Binary,GiD_PostAscii,Ascii,GiD_PostAsciiZipped,Ascii zipped" icon="data" help="GiD result file format" />
<value n="GiDWriteMeshFlag" pn="Write deformed mesh" v="WriteDeformed" values="WriteDeformed,WriteUndeformed" dict="WriteDeformed,Write deformed,WriteUndeformed, Write undeformed" icon="data" help="Write the GiD deformed or undeformed mesh"/>
<value n="GiDWriteConditionsFlag" pn="Write conditions" v="WriteConditions" values="WriteConditions,WriteElementsOnly,WriteConditionsOnly" dict="WriteConditions,Write conditions,WriteElementsOnly,Write elements only,WriteConditionsOnly,Write conditions only" icon="data" help="Write the conditions or only element to the GiD result file"/>
Expand Down

0 comments on commit ca8ab2e

Please sign in to comment.