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

timevaryingfixedgradient Boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2013, 01:04
Default timevaryingfixedgradient Boundary condition
  #1
New Member
 
Nitin
Join Date: Mar 2012
Location: Bombay
Posts: 16
Rep Power: 14
Nitin Minocha is on a distinguished road
Hello all
I am working on the problem of Natural Convection as a part of my PhD. I am using Openfoam 2.2 and using buoyantBoussinesqPimpleFoam as a solver. I want to give time varying fixedGradient as a boundary condition in T file in 0 directory. Previously i used timevaryingUniformFixedValue successfully in Openfoam 1.6 but there is no such boundary condition available in Openfoam 2.2. I had gone through the several posts available in Openforum. I tried by giving my time varying fixed gradient data in the form of table in T directory itself but it doesn't work.
Please help.[/FONT]
Nitin Minocha is offline   Reply With Quote

Old   June 5, 2013, 01:28
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
if you want not to coding, you can easily use third party swak4Foam (groovyBC utility)
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   June 5, 2013, 06:30
Default
  #3
New Member
 
Nitin
Join Date: Mar 2012
Location: Bombay
Posts: 16
Rep Power: 14
Nitin Minocha is on a distinguished road
Thanks Nimasam for a quick reply.
I have seen utility of groovyBC as u said but what i learnt from that it's required time dependent expression of gradient. There is no option of reading a file having values containing time and gradient. I have a separate file containing time and gradient values. I am enclosing that file.
Please have a look.

Last edited by Nitin Minocha; August 13, 2016 at 07:10.
Nitin Minocha is offline   Reply With Quote

Old   June 5, 2013, 07:48
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
search in forum about reading file , i saw several times how to read values from a file, in groovyBC there is an option look at table which can do similar work
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   June 13, 2013, 05:09
Default timevaryingfixedgradient Boundary condition
  #5
New Member
 
Nitin
Join Date: Mar 2012
Location: Bombay
Posts: 16
Rep Power: 14
Nitin Minocha is on a distinguished road
Hi Nimasam
Thanks for your reply.
I downloaded, Swak4Foam and tried to install it by using wmake all. I also did appropriate changes in the control dict file but when i run my case, an error is coming that this groovyBC boundary condition is not existing.
Am i not installing it correctly?
Nitin Minocha is offline   Reply With Quote

Old   June 13, 2013, 05:25
Default
  #6
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
if you install it correctly, you should find groovyBC lib file in following address

Quote:
/home/user/OpenFOAM/user-x.x.0/platforms/linuxGccDPOpt/lib
x is openfoam version
user is your username
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   June 13, 2013, 05:29
Default
  #7
New Member
 
Nitin
Join Date: Mar 2012
Location: Bombay
Posts: 16
Rep Power: 14
Nitin Minocha is on a distinguished road
Hi Nimasam
It's not there. So what can i do. I already tried 3 times to install it.
Is there any other command apart from wmake all to install it.
Nitin Minocha is offline   Reply With Quote

Old   February 22, 2014, 05:15
Default Similar issue
  #8
Senior Member
 
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 101
Rep Power: 13
Sherlock_1812 is on a distinguished road
Hi Nitin,

I am also having the same issue as yours. I have time and gradient values as a data file and am looking to use a timeVaryingFixedGradientValue type of boundary condition. However in my case, I'm worried about the linear interpolation of time values between two data entries since the variation in my case is far from linear.

Have you been able to find a way to solve this issue?
__________________
Regards,

Srivaths
Sherlock_1812 is offline   Reply With Quote

Reply


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
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
Radiation interface hinca CFX 15 January 26, 2014 17:11
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
Setting outlet Pressure boundary condition using CAFFA code Mukund Pondkule Main CFD Forum 0 March 16, 2011 03:23
How exactly the "pressure outlet" bdry condition compute properties on the boundary? yating9901 FLUENT 3 June 28, 2010 12:26


All times are GMT -4. The time now is 13:29.