CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

calculation of a field from other field in a complex equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2018, 01:32
Default calculation of a field from other field in a complex equation
  #1
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12
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:

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

How can I do that?

Thanks
alimea is offline   Reply With Quote

Reply

Tags
non-linear, openfaom, solve, volscalarfield


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 06:37
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Changing the temperature calculation from Energy Equation godfatherBond OpenFOAM Programming & Development 3 October 16, 2017 01:42
Use Wall Friction velocity for calculation in internal Field juhuettn OpenFOAM Programming & Development 0 March 4, 2015 11:57
Partial differential equation in Field Functions adel2009 STAR-CCM+ 1 May 6, 2013 14:13


All times are GMT -4. The time now is 15:23.