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

fixed value function

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By NewProgramer

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2012, 14: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, 18:59
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
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


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
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 11 March 27, 2021 05:28
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 113 December 2, 2009 11:23
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
[OpenFOAM] LibvtkFoamso fred ParaView 2 November 18, 2005 20:01


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