|
[Sponsors] |
February 6, 2019, 07:55 |
Wall Shear Stress for non-Newtonian models
|
#1 |
Member
Torsten Schenkel
Join Date: Jan 2014
Posts: 69
Rep Power: 12 |
Hello,
I am modelling laminar non-Newtonian flow where the viscosity is dependent on strain and transported scalars. The model works fine, and I can validate it with scalar ratios and velocity profiles. The purpose of the model is to look into the WSS and that's where my problem lies. The usual wallShearStress objects only work for Newtonian (laminar or turbulent), but not for non-Newtonian flow. I guess I could set the flow to Newtonian/laminar with viscosity of 1 for the wallShearStress postprocessing tool and then multiply with the local viscosity? How is the velocity gradient at the wall calculated? I guess what I would need to do is create a surface field for WSS vector (although the postprocessor seems to use a volume vector field?), calculate dV/dn and multiply that with local viscosity. I looked at the WSS postprocessor code, but that seems to be quite intimately linked with the turbulence models. Anybody has already done WSS for non-Newtonian? Thanks a lot. Best Torsten P.S. Using the laminar flow properties to calculate the WSS (simpleFoam -postprocess -func wallShearStress) and multiplying with the local viscosity in paraview seems to give me reasonable results, but it is a bit clunky, so I'd rather work on a "proper" solution. |
|
February 10, 2019, 11:35 |
Nearly solved: Wall Shear Stress for non-Newtonian models
|
#2 |
Member
Torsten Schenkel
Join Date: Jan 2014
Posts: 69
Rep Power: 12 |
Played around with it a bit and solved the problem.
Modified wallGradU to read the local viscosity field to calculate the wall shear stress. This is a standalone utility to be run after the simulation is finished. As the regular wallShearStress utility it calculates the kinematic WSS, in line with OpenFOAM's standard of using kinematic pressure and stress. EDIT: I found that the normal wallShearStress utility does calculate the WSS for the "standard" nonNewtonian models, but not for models where viscosity depend on transported scalars. Error message for missing volScalarField: --> FOAM FATAL ERROR: request for volScalarField C from objectRegistry region0 failed available objects of type volScalarField are 0 ( ) From function objectRegistry::lookupObject<Type>(const word&) const in file /home/torsten/foam/foam-extend-4.0/src/foam/lnInclude/objectRegistryTemplates.C at line 139. FOAM aborting Last edited by tschenkel; February 10, 2019 at 15:35. |
|
August 13, 2019, 16:33 |
|
#3 |
New Member
Maveryck Andres
Join Date: Mar 2019
Posts: 6
Rep Power: 7 |
What do you mean by "but not for models where viscosity depends on transported scalars"? What are those transported scalars you are referring to?
|
|
November 5, 2019, 15:34 |
|
#4 | |
Member
Torsten Schenkel
Join Date: Jan 2014
Posts: 69
Rep Power: 12 |
Quote:
I model the migration of particles in shear gradients. So viscosity becomes a function of strain rate and local particle concentration. The particle concentration is described as a scalar with a non-linear scalar transport equation. T |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
different order for wall shear stress result in steady & unsteady simulatiom | raminostadi | FLUENT | 0 | October 1, 2016 12:23 |
Cannot achieve negative wall shear stress values in CFD Post (ANSYS) | SAtkins | CFX | 3 | August 3, 2016 15:27 |
Accessing wall shear stress using UDF | Robert | Fluent UDF and Scheme Programming | 2 | July 31, 2013 09:34 |
Re: About wall shear stress | Mike | FLUENT | 9 | November 17, 2003 15:41 |
Specifying shear stress on wall in 5.5.1 | michael rasmussen | CFX | 1 | May 19, 2003 10:49 |