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

creating new velocity boundary condition

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 9, 2018, 04:10
Default creating new velocity boundary condition
  #1
pod
New Member
 
Join Date: Jun 2015
Posts: 16
Rep Power: 8
pod is on a distinguished road
Hello everyone,
I'm trying to implement a new boundary condition for velocity field starting from pressureInletOutletParSlipVelocity. I'd like to give in input (from the tutorial) a volScalarField. So I just changed the name of rhoName (which is one of the two private data of the existing class) but it gets an error like "expected keyword 'uniform' or 'nonuniform' ". I'd like it to work like in temperatureCoupledBase, which, if you give a volScalarField in kappaName, it works fine.
Any suggestion?
Thanks to anyone is willing to answer
pod is offline   Reply With Quote

Old   August 9, 2018, 16:48
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Augsburg
Posts: 2,542
Blog Entries: 6
Rep Power: 46
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi, no code no check. Please give more information.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   August 11, 2018, 10:08
Default
  #3
pod
New Member
 
Join Date: Jun 2015
Posts: 16
Rep Power: 8
pod is on a distinguished road
hello Tobi, thanks for your interest

I actually managed to get a volScalarField by utilizing the U b.c. of the solver rhoCentralFoam. So I'll benefit from your help another time, if you will concede it.

(btw your website is awesome, thanks for that)

cheers
pod
pod is offline   Reply With Quote

Reply

Tags
boundary condition, slip condition, velocity, volscalarfield

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
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 10:20
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
CFX fails to calculate a diffuser pipe flow shenying0710 CFX 7 March 26, 2013 04:13
Velocity inlet boundary condition for porous medium Chander CFX 3 March 11, 2012 21:18


All times are GMT -4. The time now is 02:31.