|
[Sponsors] |
Need UDF for determination ofpressures in hydrodynamic journal bearing |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 4, 2012, 04:22 |
Need UDF for determination ofpressures in hydrodynamic journal bearing
|
#1 |
New Member
Dinesh
Join Date: Nov 2009
Location: India
Posts: 24
Rep Power: 16 |
Hi Friends,
I want to simulate the pressures generated in hydrodynamic journal bearing. Can anyone help me? I need either tutorial or the ready made UDF for the same or the link where i will get help. Also i want to convert fortran program on bearing in UDF. How to do that? Kindly help. Thanks in advance. |
|
September 25, 2018, 12:14 |
|
#2 |
Super Moderator
|
There are two udfs which can help you.
First is about pressure control at the end of each iteration etc Code:
#include "udf.h" DEFINE_EXECUTE_AT_END(RBC) { Domain *d; Thread *t; cell_t c; face_t f; d = Get_Domain(1); thread_loop_c(t,d) { begin_c_loop (c,t) { if (C_P(c,t)<=0.0) C_P(c,t)=0.0; } end_c_loop (c,t) } thread_loop_f(t,d) { begin_f_loop(c,t) { if (C_P(c,t)<=0.0) C_P(c,t)=0.0; } end_f_loop(c,t) } } Code:
/* ********************************************************** */ /* */ /* User-Defined Functions for temperature-dependent viscosity */ /* FLUENT 16.0 */ /* */ /* Author: FARCFD farcfd@gmail.com */ /* Date: August 16, 2015 */ /* */ /* ************************************************************ */ #include "udf.h" DEFINE_PROPERTY(cell_viscosity, c, t) { real mu_laminar, temp, pres; temp = C_T(c, t); pres = C_P(c, t); mu_laminar = 0.0127*exp(0.000000213345*(pres-101345))*exp(0.029*(temp-293)); return mu_laminar; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
simulation of a radial hydrodynamic bearing in ANSYS CFX | Jalen | ANSYS | 1 | October 4, 2013 10:40 |
Help with journal bearing simulations | elcino | FLUENT | 6 | May 10, 2012 23:26 |
simulation of a journal bearing in Comsol | Pac | COMSOL | 0 | July 6, 2011 10:59 |
Help with associating a UDF in a journal file | EphemeralMemory | FLUENT | 0 | February 14, 2011 21:07 |
Journal Bearing | hunny_winky | STAR-CCM+ | 0 | April 9, 2010 17:26 |