This package contains four files:
- "example_script_DWR.m": is an example of a script that calls postprocessingDWR_ll
- "postprocessingDWR_ll.m": is the main function and calculates the rheological properties from amplitude ratio and phase lag experimental data of a rotational rheometer with a DWR fixture.
- "solve_NS_DWR_ll.m": is a function that solves the Navier-Stokes equations with no-slip and Boussinesq_Scriven boundary conditions with second order centered finite differences for the DWR configuration.
- "GetFilenames.m": is a function that returns a cell array with the names of the files having the specific pattern contained in the specified filepath.
Check that MATLAB (or GNU Octave) is installed on your computer. You can download the latest released version of GNU Octave for your operating system from: https://www.gnu.org/software/octave/download or https://ftp.gnu.org/gnu/octave/.
- All subroutines and files must be in the Current Folder or in a folder contained in the MATLAB Search Path.
- Configure parameters in your_script_file by editing "example_script_DWR.m" and changing the input parameters.
- Execute the script file as follows:
- On MATLAB GUI (or Octave GUI) version:
- type on Command Window: run your_script_file.
- open your_script_file.m on the editor and click run (or press F5)
- On command line open cmd (Windows) or Terminal (Linux and OS X) and type:
- matlab -r your_script_file.
- octave your_script_file.
- On MATLAB GUI (or Octave GUI) version:
This package contains two files:
- "example_script_DWR.py" : is an example of a script that calls postprocessingDWR_ll contained in DWRfuns module.
- "DWRfuns.py": a module that contains the definition of solve_NS_DWR_ll and postprocessingDWR_ll functions.
Check that Python3 with numpy and scipy modules is installed on your computer. You can download all versions of Python for your operating system from: https://www.python.org/downloads/.
- All subroutines must be in the current folder or in a folder contained in the system path.
- Configure parameters in your_script_file by editing example_script_DWR.py and changing the input parameters.
- Execute the script file: open cmd (Windows) or Terminal (Linux and OS X) and type: python your_script_file.
You can use "test_exp.txt" as an experiment file for testing the package by executing the original example_script_DWR. This experiment file has been generated using a viscous interface \eta_s^* = \eta_s' with modulus |\eta_s^*| varying from 1e-7 to 1 in 30 logarithmically spaced steps.