Skip to content

Commit

Permalink
Merge pull request #347 from abiyfantaye/master
Browse files Browse the repository at this point in the history
abiy - fixed bugs in isolated building cfd model create dict file pyt…
  • Loading branch information
fmckenna authored Nov 2, 2024
2 parents e4dcc51 + 6233c0f commit a480daf
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions modules/createEVENT/IsolatedBuildingCFD/setup_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -1986,7 +1986,6 @@ def write_boundary_data_files(input_json_path, case_path):
foam.write_foam_field(wind_profiles[:, 8:17], bd_path + 'L')


<<<<<<< HEAD
def write_vtk_plane_file(input_json_path, template_dict_path, case_path):

#Read JSON data
Expand Down Expand Up @@ -2086,9 +2085,6 @@ def write_vtk_plane_file(input_json_path, template_dict_path, case_path):

if __name__ == '__main__': # noqa: W291
# noqa: W293
=======
if __name__ == '__main__':
>>>>>>> upstream/master
input_args = sys.argv

# Set filenames
Expand Down Expand Up @@ -2135,18 +2131,9 @@ def write_vtk_plane_file(input_json_path, template_dict_path, case_path):
# Write results to be monitored
write_base_forces_file(input_json_path, template_dict_path, case_path)
write_story_forces_file(input_json_path, template_dict_path, case_path)
<<<<<<< HEAD
write_generated_pressure_probes_file(input_json_path, template_dict_path, case_path)
write_imported_pressure_probes_file(input_json_path, template_dict_path, case_path)
write_vtk_plane_file(input_json_path, template_dict_path, case_path)
=======
write_generated_pressure_probes_file(
input_json_path, template_dict_path, case_path
)
write_imported_pressure_probes_file(
input_json_path, template_dict_path, case_path
)
>>>>>>> upstream/master

# Write fvSolution dict
write_fvSolution_file(input_json_path, template_dict_path, case_path)
Expand All @@ -2170,10 +2157,4 @@ def write_vtk_plane_file(input_json_path, template_dict_path, case_path):
# write_DFSRTurbDict_file(input_json_path, template_dict_path, case_path)

# Write TInf files
write_boundary_data_files(input_json_path, case_path)
<<<<<<< HEAD


# noqa: W293
=======
>>>>>>> upstream/master
write_boundary_data_files(input_json_path, case_path)

0 comments on commit a480daf

Please sign in to comment.