|
[Sponsors] |
June 27, 2011, 04:30 |
boundary condition implementation
|
#1 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
hello foamer
i have a cyclic jump boundary condition, so i use the fan boundary in openFOAM, but my jump value changes in each time step and this value should be calculated in each time step for next iteration. now im thinking about coefficient update , could you please guide me how i can implement it |
|
June 28, 2011, 14:45 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
hi
how can i read a scalar from the solver in boundary condition some thing like : const uniformDimensionedScalarField& Tjump = db().lookupObject<uniformDimensionedScalarField>(" Tjump"); instead of uniformDimensionedScalarField , i like to use only scalar! i tried: const scalar Tjump = db().lookupObject<scalar>("Tjump"); but i encounter following error : error: cannot dynamic_cast ‘(const Foam::regIOobject*)t’ (of type ‘const class Foam::regIOobject*’) to type ‘const double*’ (target is not pointer or reference to class) |
|
Tags |
boundary, coefficient update, fan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 58 | July 3, 2020 01:13 |
Boundary Conditions | Thomas P. Abraham | Main CFD Forum | 20 | July 7, 2013 05:05 |
External Radiation Boundary Condition (Two sided wall), Grid Interface | CFD XUE | FLUENT | 0 | July 8, 2010 06:49 |
how to set up a wall boundary condition according to calculated wall shear stress? | gameoverli | OpenFOAM Pre-Processing | 1 | May 21, 2009 08:28 |
CFX Solver : Sudden crash | Hervé | CFX | 2 | June 16, 2008 06:40 |