User viscosity routine and user scalars?
Hi All
I asked this question in the general forum and someone pointed me to starcd. As it turns out, I am pretty sure we have star at work so I would like to ask the same question here to confirm that I can do what I need to do. I need to be able to model a nonNewtonian fluid and it will require a user subroutine. The problem would require standard arguments to the viscosity function like Temperature, strainrate, etc.. but would also require the gradient of a user scalar variable, which is the solution to a Poisson equation. It would look something like this: mu=mu(T, sdot, grad(c)) Can StarCD handle this situation? Hopefully, I will get a hold of some manuals next week. Is there a specific section for me to look at? Thanks Jeff 
Re: User viscosity routine and user scalars?
STAR can handle this situation. The subroutine you need to use is VISMOL, but you'd need to contact your local CDadapco support office to get help on incorporating scalar gradients into the subroutine. It's easy to do, but not without some help from a support engineer.

Thanks, I'll give them a call.(nm)
Thanks

Re: User viscosity routine and user scalars?
Hi Jeff!
I have to solve the similar ploblem. The coefficient in the motion equation is governed by Poisson equation. After solving Poisson equation it is necessary to calculate the gradient of the scalar. What STAR technique would you suggest to use: a) to solve Poisson equation; b) to calculate the gradient (vector) of the scalar. Thanks Alexander 
All times are GMT 4. The time now is 23:42. 