{"id":11288,"date":"2025-10-28T15:23:45","date_gmt":"2025-10-28T15:23:45","guid":{"rendered":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=11288"},"modified":"2025-10-28T16:26:35","modified_gmt":"2025-10-28T16:26:35","slug":"dualsphysics","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/dualsphysics\/","title":{"rendered":"DualSPhysics"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/dual.sphysics.org\/\">DualSPhysics<\/a> is based on the Smoothed Particle Hydrodynamics model named <a href=\"www.sphysics.org\">SPHysics<\/a>. The code is developed (GNU Lesser General Public License) to study free-surface flow phenomena where Eulerian methods can be difficult to apply. DualSPHysics is a set of C++ and CUDA codes designed to deal with real-life engineering problems.<\/p>\n<p>Versions installed:<\/p>\n<pre>\r\napps\/binapps\/dualsphysics\/5.4.3\r\napps\/binapps\/dualsphysics\/5.2.2 \r\napps\/binapps\/dualsphysics\/5.0\r\n<\/pre>\n<h2>Restrictions on use<\/h2>\n<p>The software is released under the <a href=\"https:\/\/www.gnu.org\/licenses\/old-licenses\/lgpl-2.1.en.html\">GNU LESSER GENERAL PUBLIC LICENSE Version 2.1<\/a><\/p>\n<p>You should read and understand whether this license is compatible with your intended use.<\/p>\n<h2>Set up procedure<\/h2>\n<p>We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example jobscript below for how to do this.<\/p>\n<p>Load one of the following modulefiles:<\/p>\n<pre>\r\nmodule load apps\/binapps\/dualsphysics\/5.4.3\r\nmodule load apps\/binapps\/dualsphysics\/5.2.2 \r\nmodule load apps\/binapps\/dualsphysics\/5.0\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Please do not run on the login node. Jobs should be submitted to the compute nodes via batch.<\/p>\n<h3>Batch job submissiononly<\/h3>\n<p>Create a batch submission script (which will load the modulefile in the jobscript), for example:<\/p>\n<p><strong>CPU only<\/strong><\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#SBATCH -p multicore  # (or --partition=) Run on the AMD 168-core nodes\r\n#SBATCH -n 16         # (or --ntasks=) Number of cores to use.\r\n#SBATCH -t 4-0        # Wallclock time limit. 4-0 is 4 days. Max permitted is 7-0.\r\n\r\n# Start with a clean environment - modules are inherited from the login node by default.\r\nmodule purge\r\nmodule load apps\/binapps\/dualsphysics\/5.4.3\r\n\r\nDualSPHysics5.2_FlexStruc_linux64\r\n<\/pre>\n<p><strong>GPU and CPU<\/strong><\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#SBATCH -p gpuA\r\n#SBATCH -G 1\r\n#SBATCH -t 1-00:00:00    ## 1 day runtime as example\r\n#SBATCH -n 1             ## 1 task\r\n#SBATCH -c 12            ## 12 cores (multithreaded)\r\n\r\n# Start with a clean environment - modules are inherited from the login node by default.\r\nmodule purge\r\nmodule load apps\/binapps\/dualsphysics\/5.4.3\r\n\r\nDualSPHysics5.2_FlexStruc_linux64\r\n<\/pre>\n<p>Submit the jobscript using: <\/p>\n<pre>sbatch <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview DualSPhysics is based on the Smoothed Particle Hydrodynamics model named SPHysics. The code is developed (GNU Lesser General Public License) to study free-surface flow phenomena where Eulerian methods can be difficult to apply. DualSPHysics is a set of C++ and CUDA codes designed to deal with real-life engineering problems. Versions installed: apps\/binapps\/dualsphysics\/5.4.3 apps\/binapps\/dualsphysics\/5.2.2 apps\/binapps\/dualsphysics\/5.0 Restrictions on use The software is released under the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 You should read and.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/dualsphysics\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":25,"featured_media":0,"parent":86,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-11288","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/11288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=11288"}],"version-history":[{"count":5,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/11288\/revisions"}],"predecessor-version":[{"id":11296,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/11288\/revisions\/11296"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/86"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/media?parent=11288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}