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

boundaryField for derived quantities

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2016, 17:39
Default boundaryField for derived quantities
  #1
New Member
 
Join Date: Sep 2015
Location: California, US
Posts: 3
Rep Power: 10
abhiv is on a distinguished road
Hello OFoamers, I'm relatively new to OpenFOAM community. I'm facing an issue while defining boundary condition to one of the variables in my own solver using openfoam.

In particular, I'm calculating Flux of a quantity which is function of two other independent variables. But I need to provide boundary conditions for the flux not the independent variables. Independent variables may have "calculated" BC.

Here is a part of createFields.H, showing one possible situation. "Flux" requires a boundary condition to solve the physics correctly, but the solver is not reading boundaryField while running. I think that it occurs because I'm not providing 'mesh' condition instead of equation for "Flux". The "Flux" is also being used in another PDE solution.


Code:
    volVectorField Flux
    (
        IOobject
        (
            "Flux",
            runTime.timeName(),
            mesh,
            IOobject::MUST_READ,
            IOobject::AUTO_WRITE
        ),
        N*U
    );
Is there a solution already exists in OpenFOAM for this problem? Please advice me if I am interpreting the openfoam guidelines incorrectly for createFields.H. How to approach if I have to come up with an utility to perform this job?

Thanks in advance,
ABHI
abhiv is offline   Reply With Quote

Reply

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
boundaryField access for derived quantities abhiv OpenFOAM Programming & Development 1 May 31, 2017 20:29
Reading Additional Data Quantities from Fluent into Tecplot fremder Tecplot 9 December 16, 2016 16:35
volPointInterpolation on boundaryField only? Arnoldinho OpenFOAM Programming & Development 16 November 3, 2014 22:50
Question about volScalarField boundaryField set. Kelong Wang OpenFOAM 3 May 12, 2014 15:19
Convergence sensitivity to inlet turbulence quantities? gravis FLUENT 0 October 25, 2010 11:00


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