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

fixed value function

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

Like Tree1Likes
  • 1 Post By NewProgramer

Reply
 
LinkBack Thread Tools Display Modes
Old   July 30, 2012, 13:57
Default fixed value function
  #1
New Member
 
Join Date: Jul 2012
Posts: 1
Rep Power: 0
NewProgramer is on a distinguished road
Hi, I'm very new to the programming language in general and to openfoam even more so. I'm trying to to set up a fixed value boundary condition for the inlet where the value is a function of position. For the purpose of generality, the flow is in the -y dirrection and the velocity function is f(x). Thank you for your help *bows head*
hbsld likes this.
NewProgramer is offline   Reply With Quote

Old   August 6, 2012, 17:59
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by NewProgramer View Post
Hi, I'm very new to the programming language in general and to openfoam even more so. I'm trying to to set up a fixed value boundary condition for the inlet where the value is a function of position. For the purpose of generality, the flow is in the -y dirrection and the velocity function is f(x). Thank you for your help *bows head*
If your main intention is to learn C++ go ahead with this. If you 'only' want to solve a case with a special boundary condition use groovyBC. Or use codedFixedValue as a compromise
gschaider is offline   Reply With Quote

Reply

Tags
inlet boundary condition

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 10 May 1, 2014 16:26
issue compiling new turbulence model perplexed user OpenFOAM Programming & Development 1 January 13, 2012 04:40
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 11:23
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
LibvtkFoamso fred OpenFOAM Paraview & paraFoam 2 November 18, 2005 20:01


All times are GMT -4. The time now is 05:40.