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

scalarField inlet profile BC

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2010, 11:09
Default scalarField inlet profile BC
  #1
Member
 
Jan Potac
Join Date: Aug 2009
Posts: 30
Rep Power: 16
potac is on a distinguished road
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
Attached Files
File Type: c concentrationFvPatchVectorField.C (5.5 KB, 6 views)
File Type: h concentrationFvPatchVectorField.H (5.2 KB, 1 views)
potac 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
Inlet Profile with CFX-Pre Fadi Ishak CFX 1 June 10, 2008 07:12
problem with velocity inlet profile file Duncan FLUENT 3 November 21, 2005 07:28
Create hemisphere like velocity profile at inlet Nelson Main CFD Forum 3 July 27, 2005 12:05
NON-UNIFORM VELOCITY INLET BOUNDARY PROFILE MURAT Main CFD Forum 0 December 30, 2003 21:08
create logarithmic wind profile for inlet Murat Main CFD Forum 0 December 30, 2003 00:45


All times are GMT -4. The time now is 09:18.