|
[Sponsors] |
January 16, 2010, 12:09 |
scalarField inlet profile BC
|
#1 |
Member
Jan Potac
Join Date: Aug 2009
Posts: 30
Rep Power: 17 |
Hi, I am trying to change parabolic velocity inlet BC downloaded from svn OF1.5-dev and obtain some scalar field (alpha,volume fraction) inlet profile instead. First, I thought that simple change in member function from vectorField::operator=vectorfunction(coord) to scalarField::operator= scalarfunction(coord) should be OK. But when compiling for OF1.6.x twoPhaseEulerFoam I receive an error: cannot call member function ‘void Foam::Field<Type>::operator=(const Foam::Field<Type>&) [with Type = double]’ without object.
Can someone help me to obtain a scalarField inlet profile BC, please? Maybe it is not the best way how to create such a BC. The source BC files I use are attached. Thanks a lot! Regards, Jan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inlet Profile with CFX-Pre | Fadi Ishak | CFX | 1 | June 10, 2008 08:12 |
problem with velocity inlet profile file | Duncan | FLUENT | 3 | November 21, 2005 08:28 |
Create hemisphere like velocity profile at inlet | Nelson | Main CFD Forum | 3 | July 27, 2005 13:05 |
NON-UNIFORM VELOCITY INLET BOUNDARY PROFILE | MURAT | Main CFD Forum | 0 | December 30, 2003 22:08 |
create logarithmic wind profile for inlet | Murat | Main CFD Forum | 0 | December 30, 2003 01:45 |