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

how to set the timevarying uniform value of internalField?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 3, 2011, 07:59
Default how to set the timevarying uniform value of internalField?
  #1
New Member
 
Jianxi Yao
Join Date: Apr 2011
Posts: 17
Rep Power: 15
jianxiyao is on a distinguished road
does someone knows how to set the internalField value which vary with time in an unsteady simulation? i know that there is a timeVaryingUniformFixedValue for BC,but which one for internalField?
jianxiyao is offline   Reply With Quote

Old   April 4, 2011, 04:06
Default
  #2
Member
 
Samuel ARNAUD
Join Date: Feb 2011
Location: Grenoble, FRANCE
Posts: 39
Rep Power: 15
sixwp is on a distinguished road
Hi Jianxi,

you don't have to put a time varying value for the internalField as it already behaves like this.
Put an "uniform value" in /0 folders and it will vary by itself during the calculation.
__________________
Sam
sixwp is offline   Reply With Quote

Old   April 4, 2011, 05:23
Default
  #3
New Member
 
Jianxi Yao
Join Date: Apr 2011
Posts: 17
Rep Power: 15
jianxiyao is on a distinguished road
thank you Sam! my computational model is that a body move in a field with a constant velocity in the x direction but in the y direction with a time-varying velocity. So i just have to set a time-varying boundary conditions but not the internalfield values?
jianxiyao is offline   Reply With Quote

Old   April 4, 2011, 17:58
Default
  #4
Member
 
Fran
Join Date: Sep 2009
Location: Buenos Aires
Posts: 38
Rep Power: 17
lfbarcelo is on a distinguished road
InternalField is not a boundary condition, it's an INITIAL condition. Which means that it's set only at the begining and re-calculated during the simulation.

If you have constant speed in the x direction, set a constant speed BC on your x-normal inlet wall.

To set the time varying BC in the Y direction, set the Y speed vasying BC on one of your Y-normal walls, and set the pressure on the opposite Y-normal wall.

This may not converge, y recommend that you have some fixed walls in your model, separating the different inlet and outlet patches. I'll upload a drawing to explain myself
Attached Images
File Type: jpg CFDDiscussion.jpg (82.9 KB, 92 views)
lfbarcelo is offline   Reply With Quote

Old   April 5, 2011, 04:33
Default
  #5
New Member
 
Jianxi Yao
Join Date: Apr 2011
Posts: 17
Rep Power: 15
jianxiyao is on a distinguished road
Quote:
Originally Posted by lfbarcelo View Post
InternalField is not a boundary condition, it's an INITIAL condition. Which means that it's set only at the begining and re-calculated during the simulation.

If you have constant speed in the x direction, set a constant speed BC on your x-normal inlet wall.

To set the time varying BC in the Y direction, set the Y speed vasying BC on one of your Y-normal walls, and set the pressure on the opposite Y-normal wall.

This may not converge, y recommend that you have some fixed walls in your model, separating the different inlet and outlet patches. I'll upload a drawing to explain myself
Hi Lfbarcelo
i will try it. i hope that can work. thanks!
jianxiyao 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
Cht tutorial in 15 braennstroem OpenFOAM Running, Solving & CFD 197 June 10, 2015 04:02
Dealing with BC's in OF 1.6 vkrastev OpenFOAM Running, Solving & CFD 5 September 4, 2012 12:58
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Flow Around a Cylinder ronaldo OpenFOAM 5 September 18, 2009 09:13
Env variable not set gruber2 OpenFOAM Installation 5 December 30, 2005 05:27


All times are GMT -4. The time now is 19:12.