CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

calculation of a field from other field in a complex equation

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2018, 00:32
Default calculation of a field from other field in a complex equation
Senior Member
A. Min
Join Date: Mar 2015
Posts: 291
Rep Power: 9
alimea is on a distinguished road
Hi foamers,

I want to calculate the viscosity of a fluid (mu) at the middle of a solver code from a non-linear Eqn like:

gamaDot = mu * (4/mu - 1) * exp(2*mu)  + exp(mu^2)
where gamaDot and mu are volScalarFields.

How can I do that?

alimea is offline   Reply With Quote


non-linear, openfaom, solve, volscalarfield

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 75 August 20, 2018 05:37
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Changing the temperature calculation from Energy Equation godfatherBond OpenFOAM Programming & Development 3 October 16, 2017 00:42
Use Wall Friction velocity for calculation in internal Field juhuettn OpenFOAM Programming & Development 0 March 4, 2015 10:57
Partial differential equation in Field Functions adel2009 STAR-CCM+ 1 May 6, 2013 13:13

All times are GMT -4. The time now is 01:58.