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

How to define a new scalar based on Uprime2Mean? (based on an existed variable)

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2019, 15:03
Default How to define a new scalar based on Uprime2Mean? (based on an existed variable)
  #1
Member
 
Gang Wang
Join Date: Oct 2019
Location: Norway
Posts: 36
Rep Power: 2
Gang Wang is on a distinguished road
I want to define a new scalar in the createFields.H in my solver, based on Uprime2Mean, the new scalar is just 1/2*tr(Uprime2Mean). But I don't know how to add that, could anyone help me to explain that?
Gang Wang is offline   Reply With Quote

Reply

Tags
createfields.h, openfoam-v1806, post processing, scalar field, uprime2mean

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
Temperature calculation from total enthalpy in OpenFOAM (XiFOAM) sharifi OpenFOAM Running, Solving & CFD 0 August 25, 2017 12:10
How to define a boundary condition as a variable with other flow variable upuli OpenFOAM Programming & Development 0 June 6, 2017 02:31
Division by zero exception - loop over scalarField Pat84 OpenFOAM Programming & Development 6 February 18, 2017 05:57
using a Fortran library of thermodynamics inside sutherland transport model Mehdi3031 OpenFOAM Programming & Development 0 April 7, 2016 09:34
access to member function variable Rahand OpenFOAM Programming & Development 3 March 29, 2016 15:46


All times are GMT -4. The time now is 19:10.