GROMACS version: 2023.4
GROMACS modification: No
Dear GROMACS community (especially @MichelePellegrino and @hess),
I am currently working on obtaining the viscosity vs. shear rate for a non-Newtonian fluid exhibiting shear-thinning behavior. I want to ensure that my approach follows best practices and can yield reproducible and reliable results.
Current Workflow
My workflow involves performing NVT MD simulations using the deform
option to achieve specific shear rates, ranging from 1 s⁻¹ to 100 s⁻¹. My system is enclosed in a cubic simulation box with a side length of 5 nm. For example, to achieve a shear rate of 1 s⁻¹, I set deform = 0.0 0.0 0.0 5.0e-12 0.0 0.0
, where the deformation velocity in the xy-plane is calculated using shear_rate * box_length
. Velocities are initiated using the deform-init-flow
option.
For obtaining the viscosity at each shear rate, I am following the method outlined in Shear viscosity coefficient of aqueous glycerol from equilibrium Molecular Dynamics simulations (Zenodo link). Specifically, I run 20 independent MD simulations starting from different configurations, taken close to the average density obtained from an NPT simulation (P = 1 atm). My system is an organic solvent with a salt, simulated at 300 K. Experimentally, the fluid’s viscosity is known to decrease from approximately 100 cP at low shear rates to around 5 cP at shear rates above 30 s⁻¹.
Questions & Concerns
- Is this workflow appropriate for obtaining the apparent viscosity vs. shear rate trend?
- Is running 20 independent simulations sufficient to get a reliable estimate, or should I aim for more, perhaps 60 simulations as suggested in the reference method?
- Regarding the shear stress integral vs. time:
- In my simulations, the log-log plot of the shear stress integral reaches a linear regime only after long simulation times (e.g., >15 ns for low shear rates). Is this behavior expected for non-newtonian fluids?
- Should I simply fit the linear portion to obtain the viscosity, or am I missing some critical consideration? My assumption is that the non-linear portion represents the disruption of the fluid’s local structure before reaching steady state, and as such should be not included in the fit.
- Could the size of the simulation box (5 nm) affect my ability to capture the correct shear-thinning behavior, or is it adequate for this study?
I have thoroughly reviewed the literature and forum posts, but I haven’t come across any step-by-step guidance regarding this topic, so I apologize if any of these questions seem trivial.
Additionally, I have experimented with the cosine acceleration method for calculating viscosity vs shear rate trend. However, I noticed that at increasing shear rates, the viscosity decreases linearly. From what I understand, and also according to literature in this regard, this method should primarily be used to estimate the zero-shear viscosity by extrapolating the linear trend back to zero shear rate for newtonian fluids. Can anyone confirm if this interpretation is correct?
Future Contribution
If I can establish a reliable workflow, I would be happy to contribute an in-depth tutorial on this topic with a practical example, complete with scripts for automating the necessary steps.
Any insights or advice would be greatly appreciated!
Thank you for your time and help,
Mattia