diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 814c66b7..7cecffa9 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -4,7 +4,7 @@ DesignSPHysics is currently under development and not ready for consumer use. It
This document was updated at 31 of July, 2018. It is probable that the project has been modified since then and this document does not contain correct information.
# How to contribute
-Theres 2 main ways to contribute: Opening issues and contributing to the code. Below you can find information about the 2.
+There's 2 main ways to contribute: Opening issues and contributing to the code. Below you can find information about the 2.
## Opening issues
You can open issues in [this github repository](https://github.com/DualSPHysics/DesignSPHysics) to report errors or suggest new features or how to improve them. Keep in mind that there are a lot of things left to do and probably most of the missing features are coming eventually. The most useful feedback right now is error reporting and fixing.
@@ -12,7 +12,7 @@ You can open issues in [this github repository](https://github.com/DualSPHysics/
## Contributing to the code
To contribute to the project please check the following section (Project Structure) as it contains a brief description about how the project is structure and where to find the related code for each UI element.
-To submit code please make your changes onto the `develop` branch and open a pull request. The current mantainer of the code will check it as soon as possible to merge the change onto the branch.
+To submit code please make your changes onto the `develop` branch and open a pull request. The current maintainer of the code will check it as soon as possible to merge the change onto the branch.
# Project structure
## Branches
@@ -49,7 +49,7 @@ For example, when the "Load Case" button is pressed, the function binded to it g
To implement a new UI component with a feature just create, for example, a button and a function to execute when pressed.
-The main data structure is a Python Dictionary with different data attached to its keys. To see a reference to the strucutre, check the `get_default_data()` function in `mod.utils`.
+The main data structure is a Python Dictionary with different data attached to its keys. To see a reference to the structure, check the `get_default_data()` function in `mod.utils`.
# Need more help?
If you need help on how to contribute please contact one of the following people
diff --git a/DesignSPHysics.py b/DesignSPHysics.py
index 006f6937..73b9fa7e 100644
--- a/DesignSPHysics.py
+++ b/DesignSPHysics.py
@@ -93,7 +93,7 @@
# Establishing references for the different elements that the script will use later.
fc_main_window = FreeCADGui.getMainWindow() # FreeCAD main window
-# TODO: Big Change: This should definetly be a custom class like DesignSPHysicsDock(QtGui.QDockWidget)
+# TODO: Big Change: This should definitely be a custom class like DesignSPHysicsDock(QtGui.QDockWidget)
dsph_main_dock = QtGui.QDockWidget() # DSPH main dock
# Scaffolding widget, only useful to apply to the dsph_dock widget
dsph_main_dock_scaff_widget = QtGui.QWidget()
diff --git a/README.md b/README.md
index fa4e037f..9ba2eabd 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ Check the [Official Webpage](http://design.sphysics.org) for downloads and more

## Description
-DesignSPHysics enables the user to create cases with solids and fluids and exports it to a DualSPHysics compatbile format. In addition, it does the hard work for the user, generating the case automatically, simulating, and post-processing, all inside FreeCAD.
+DesignSPHysics enables the user to create cases with solids and fluids and exports it to a DualSPHysics compatible format. In addition, it does the hard work for the user, generating the case automatically, simulating, and post-processing, all inside FreeCAD.
It includes support for pre-processing with GenCase, simulation with DualSPHysics and post-processign with several tools of the DualSPHysics package.
@@ -31,7 +31,7 @@ By default, for example, in Windows, it is located in `%appdata%/FreeCAD/Mod` or
Next open the folder and copy the file `DesignSPHysics.FCMacro` into the FreeCAD macro directory (`%appdata%/FreeCAD/Macro` on Windows; `~/.FreeCAD/Macro` on GNU/Linux).
-### Installing a develompent build
+### Installing a development build
Clone this repository and rename the folder to 'DesignSPHysics'. Then copy the folder to the Mod folder of the FreeCAD installation directory.
By default, for example, in Windows, it is located in `%appdata%/FreeCAD/Mod` or in Linux in `~/.FreeCAD/Mod`
diff --git a/dualsphysics/bin/DsphConfig.xml b/dualsphysics/bin/DsphConfig.xml
index d99d0f85..06c4a275 100644
--- a/dualsphysics/bin/DsphConfig.xml
+++ b/dualsphysics/bin/DsphConfig.xml
@@ -2,6 +2,6 @@
-
+
diff --git a/mod/dataobjects/acc_rect_motion.py b/mod/dataobjects/acc_rect_motion.py
index 89a2d6d5..ac168e18 100644
--- a/mod/dataobjects/acc_rect_motion.py
+++ b/mod/dataobjects/acc_rect_motion.py
@@ -9,7 +9,7 @@ class AccRectMotion(BaseMotion):
Attributes:
velocity: Velocity vector that defines the movement
- acceleration: Acceleration vector that defines the aceleration
+ acceleration: Acceleration vector that defines the acceleration
'''
def __init__(self, duration=1, velocity=None, acceleration=None, parent_movement=None):
diff --git a/mod/dataobjects/constants.py b/mod/dataobjects/constants.py
index a1e0fa33..5493b31b 100644
--- a/mod/dataobjects/constants.py
+++ b/mod/dataobjects/constants.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3.7
# -*- coding: utf-8 -*-
-''' DesignSPHysics case constans dataobject '''
+''' DesignSPHysics case constants dataobject '''
class Constants():
''' DualSPHysics case constants definition dataobject. '''
diff --git a/mod/dataobjects/domain_fixed_parameter.py b/mod/dataobjects/domain_fixed_parameter.py
index 99c93c6a..fdc3cdb9 100644
--- a/mod/dataobjects/domain_fixed_parameter.py
+++ b/mod/dataobjects/domain_fixed_parameter.py
@@ -7,11 +7,11 @@ class DomainFixedParameter():
''' Fixed Domain for a DSPH case.
Attributes:
- xmin = Minimun X coordinate for the fixed domain
+ xmin = Minimum X coordinate for the fixed domain
xmax = Maximum X coordinate for the fixed domain
- ymin = Minimun Y coordinate for the fixed domain
+ ymin = Minimum Y coordinate for the fixed domain
ymax = Maximum Y coordinate for the fixed domain
- zmin = Minimun Z coordinate for the fixed domain
+ zmin = Minimum Z coordinate for the fixed domain
zmax = Maximum Z coordinate for the fixed domain
'''
diff --git a/mod/dataobjects/ml_piston_2d_veldata.py b/mod/dataobjects/ml_piston_2d_veldata.py
index 7477270d..87a38cba 100644
--- a/mod/dataobjects/ml_piston_2d_veldata.py
+++ b/mod/dataobjects/ml_piston_2d_veldata.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3.7
# -*- coding: utf-8 -*-
-''' DesignSPHysics VelData atribute data. '''
+''' DesignSPHysics VelData attribute data. '''
class MLPiston2DVeldata():
diff --git a/mod/freecad_tools.py b/mod/freecad_tools.py
index 74680097..bd86941d 100644
--- a/mod/freecad_tools.py
+++ b/mod/freecad_tools.py
@@ -103,7 +103,7 @@ def document_count() -> int:
def document_open(document_name: str) -> bool:
- ''' Returns wether the specified document name is opened within freecad. '''
+ ''' Returns whether the specified document name is opened within freecad. '''
return document_name.lower() in list(FreeCAD.listDocuments().keys())[0].lower()
diff --git a/mod/lang/english.json b/mod/lang/english.json
index 759783d7..dbb967c4 100644
--- a/mod/lang/english.json
+++ b/mod/lang/english.json
@@ -147,7 +147,7 @@
"Enables motion for the selected MKBound": "Enables motion for the selected MKBound",
"File Name": "File Name",
"Estimated time to complete simulation: ": "Estimated time to complete simulation: ",
- "Press 'Move up' to move an object up in the hirearchy.\nPress 'Move down' to move an object down in the hirearchy.": "Press 'Move up' to move an object up in the hirearchy.\nPress 'Move down' to move an object down in the hirearchy.",
+ "Press 'Move up' to move an object up in the hierarchy.\nPress 'Move down' to move an object down in the hierarchy.": "Press 'Move up' to move an object up in the hierarchy.\nPress 'Move down' to move an object down in the hierarchy.",
"There was an error on the post-processing.": "There was an error on the post-processing.",
"Open {}_Fluid": "Open {}_Fluid",
"Y positions (separated by commas):": "Y positions (separated by commas):",
@@ -692,7 +692,7 @@
"Spring radius: ": "Spring radius: ",
"Length for revolution: ": "Length for revolution: ",
"Error!": "Error!",
- "bodies are necesary!": "bodies are necesary!",
+ "bodies are necessary!": "bodies are necessary!",
"Link pointline configuration": "Link pointline configuration",
"Sliding Vector: ": "Sliding Vector: ",
"Point for rotation: ": "Point for rotation: ",
diff --git a/mod/lang/spanish.json b/mod/lang/spanish.json
index 3745576c..943e17df 100644
--- a/mod/lang/spanish.json
+++ b/mod/lang/spanish.json
@@ -188,7 +188,7 @@
"Scaling factor: ": "Scaling factor: ",
"Threshold to detect free surface. Typically 1.5 for 2D and 2.75 for 3D (default=0).": "Threshold to detect free surface. Typically 1.5 for 2D and 2.75 for 3D (default=0).",
"Interaction kernel": "Interaction kernel",
- "Minimium time step": "Minimium time step",
+ "Minimum time step": "Minimum time step",
"DT Time (s): ": "DT Time (s): ",
"Gencase exported {} particles.\nPress \"Details\" to check the output": "Gencase exported {} particles.\nPress \"Details\" to check the output",
"Selects an mass/density calculation method and its value.": "Selects an mass/density calculation method and its value.",
@@ -595,7 +595,7 @@
"Import GEO options": "Import GEO options",
"GEO File: ": "GEO File: ",
"Error!": "Error!",
- "bodies are necesary!": "bodies are necesary!",
+ "bodies are necessary!": "bodies are necessary!",
"This will apply the initials properties to all objects with mkfluid = ": "This will apply the initials properties to all objects with mkfluid = ",
"Velocity (m/s): ": "Velocity (m/s): ",
"2": "2",
diff --git a/mod/templates/case_summary_template.html b/mod/templates/case_summary_template.html
index a633eced..45829cb6 100644
--- a/mod/templates/case_summary_template.html
+++ b/mod/templates/case_summary_template.html
@@ -68,7 +68,7 @@
Execution parameters
Time out data: {timeout}
Increase of Z+: {incz} %
Fluid particles allowed to be excluded from domain: {partsoutmax} %
- Miniumum rhop valid: {rhopoutmin}
+ Minimum rhop valid: {rhopoutmin}
Maximum rhop valid: {rhopoutmax}