Skip to content

Commit

Permalink
Merge pull request #964 from KratosMultiphysics/mpm/change-deprecated…
Browse files Browse the repository at this point in the history
…-vtk-parameters-names

[MPM] Change deprecated VTK parameters names
  • Loading branch information
ncrescenzio authored Dec 16, 2023
2 parents 05e03e8 + 15441d1 commit 03d6838
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions kratos.gid/apps/MPM/write/writeProjectParameters.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ proc ::MPM::write::GetOutputProcessesList { } {

dict set body_output_configuration_dict python_module particle_vtk_output_process
dict set body_output_configuration_dict kratos_module KratosMultiphysics.ParticleMechanicsApplication
dict set body_output_configuration_dict process_name ParticleMPMVTKOutputProcess
dict set body_output_configuration_dict process_name ParticleVtkOutputProcess
dict set body_output_configuration_dict Parameters model_part_name MPM_Material
dict unset body_output_configuration_dict Parameters nodal_data_value_variables
dict unset body_output_configuration_dict Parameters element_data_value_variables
Expand All @@ -200,10 +200,9 @@ proc ::MPM::write::GetOutputProcessesList { } {
#set outputCT [getValueByXPath $vtk_options_xpath OutputControlType]
#dict set resultDict output_control_type $outputCT
#if {$outputCT eq "time"} {set frequency [getValueByXPath $vtk_options_xpath OutputDeltaTime]} {set frequency [getValueByXPath $vtk_options_xpath OutputDeltaStep]}
dict unset body_output_configuration_dict Parameters output_path
dict set body_output_configuration_dict Parameters folder_name "vtk_output_Body"
dict set body_output_configuration_dict Parameters output_path "vtk_output_Body"
dict unset body_output_configuration_dict Parameters gauss_point_variables_extrapolated_to_nodes
dict set body_output_configuration_dict Parameters gauss_point_results [write::GetResultsList ElementResults]
dict set body_output_configuration_dict Parameters gauss_point_variables_in_elements [write::GetResultsList ElementResults]


dict set grid_output_configuration_dict Parameters model_part_name Background_Grid
Expand Down

0 comments on commit 03d6838

Please sign in to comment.