|
[Sponsors] |
June 5, 2013, 04:40 |
Declaring a New Scalar Field
|
#1 |
New Member
Matt Mosquera
Join Date: Jun 2013
Posts: 3
Rep Power: 12 |
Greetings,
I've just recently started working with openFOAM and this is my first experience programming in C++ or anything similar. I have MATLAB experience but that's about it. I've worked through some tutorials but am still having trouble getting my feet on the ground. I am writing a solver for a transport equation and would like to define a new constant tau, which would be given by tau = 1/(c*omega) where c is some constant and omega is a volScalarField I am reading from. tau would ideally then be used in a solve function. What would be the best way to implement this in my solver? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tangential component of gradient of scalar field at surface | tehache | OpenFOAM Running, Solving & CFD | 5 | July 4, 2013 07:13 |
jumpCyclic bc not for scalar field? | doubtsincfd | OpenFOAM | 0 | July 12, 2011 18:02 |
Gradient at face center of a scalar volume field | praveen | OpenFOAM | 5 | June 30, 2011 08:00 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 06:51 |
MeshPhi for scalar field in 14 gone | tehache | OpenFOAM Running, Solving & CFD | 0 | June 18, 2007 06:20 |