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

How to copy boundary types from a volScalarField?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2012, 13:56
Default How to copy boundary types from a volScalarField?
  #1
Senior Member
 
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 16
adhiraj is on a distinguished road
Hi all,
I am trying to create a library that solves for several volScalarFields (say M0,M1...).
The problem is described in terms of the transport equations for the fields, and internally I want to do a transformation such as
Quote:
theta=Foam::log(1+M0)
and then solve the transport equations in terms of theta.
What I would want is that the application using the library will provide the initial/boundary conditions on M0, and that will be converted to equivalent boundary conditions for theta.
I see how the internalField values can be initialized, but how do I convert the boundary conditions?
adhiraj is offline   Reply With Quote

Reply


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
Implementation of boundary conditions for FVM Tom Main CFD Forum 7 August 26, 2014 06:58
inlet velocity boundary condition murali CFX 5 August 3, 2012 09:56
CFX13 Post Periodic interface EtaEta CFX 7 December 8, 2011 18:15
Boundary conditions? Tom Main CFD Forum 0 November 5, 2002 02:54
Boundary Types in Fluent 5/6 Oresko FLUENT 3 July 23, 2002 20:23


All times are GMT -4. The time now is 00:54.