|
[Sponsors] |
Non newtonian viscosity UDF -Diveregence in AMG Solver error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 5, 2013, 00:17 |
Non newtonian viscosity UDF -Diveregence in AMG Solver error
|
#1 |
New Member
Josy
Join Date: Mar 2009
Location: India
Posts: 29
Rep Power: 17 |
Hi,
I have written an UDF for implementing a non-newtonian viscosity model for blood. This is the UDF:- #include "udf.h" #define mu_plasma 0.0012 #define H 0.47 DEFINE_PROPERTY(cumul_viscosity,c,t) { real mu_blood,beta,gamma,a,b,d; gamma = C_STRAIN_RATE_MAG(c,t); beta = 1+(6.0/pow(gamma,0.75)); a = beta*(1-H); b = (4.1*H)/(1.64-H); d = mu_plasma*a; mu_blood = pow(d,b); return mu_blood; } I am getting 'Divergence in AMG solver - x momentum' error. I tried reducing the time step size and URF. Nothing seems to work. Any suggestions on how to resolve this? Thank you. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x | Saxwax | OpenFOAM Installation | 25 | November 29, 2013 05:34 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 07:24 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 02:32 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 17:38 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 06:31 |