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

gradually opening wall

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

Like Tree3Likes
  • 3 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2012, 16:15
Default gradually opening wall
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
hello
I want to simulate a long channel you may assume closed end at right side but at the left side the wall move from rest at a constant velocity downward so that it opens to a constant stagnation pressure and stagnation temperature-that we know the values of them-environment that are greater than inside the channel.how can I model this gradually openning wall? should I mix groovyBC and mixed boundary conditions?how?or this can be done easier?
immortality is offline   Reply With Quote

Old   November 25, 2012, 07:18
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,503
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings ehsan,

Someone asked me a similar question a few weeks ago and I took a look at this today. An I saw your post due to some strange spammer that was going around posting some weird text...

Anyway, attached is an example "flexibleSideCube.tar.gz", based on an example case from the OpenFOAM bug tracker: http://www.openfoam.org/mantisbt/view.php?id=566.

The changes I've made were also based on one of examples that swak4Foam has for groovyBC: "Examples/groovyBC/movingConeDistorted/"

You simply need to run:
Code:
./Allrun
for it to do its magic. Keep in mind the changes I've made:
  1. I've used groovyBC for generating the necessary point displacements, which have to be gradual along X, since we want the left side to be fixed.
  2. I've had to add the "cellMotionUz" file, because without it only the top wall would move and the remaining mesh would stay the same.
  3. I've modified "dynamicMeshDict", so that it would distribute the cells a bit better. Look at the example in groovyBC for more ideas on the types of mesh diffusion there are!
  4. I've used moveDynamicMesh only, so the case is merely an example of dynamic mesh and is not prepared yet for using any other solver... except perhaps interDyMFoam, since I didn't modify several files from that other case from the bug tracker.


So as you should be able to figure out, this example only takes care of the dynamic mesh part, it does not show an example of boundary conditions to be used by a fluid solver.


Best regards,
Bruno
Attached Files
File Type: gz flexibleSideCube.tar.gz (3.2 KB, 48 views)
Tobi, immortality and psk like this.

Last edited by wyldckat; December 1, 2012 at 08:33.
wyldckat is offline   Reply With Quote

Old   December 1, 2012, 08:34
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,503
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
I can't believe I forgot to attach the file... I was probably already very sleepy back then

Anyway, I've attached the missing file to the previous post.
wyldckat is offline   Reply With Quote

Old   December 1, 2012, 18:08
Default
  #4
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
Thank you very much dear Bruno.I didn't find anything and thought may you have send the post by mistake or you mention to that link of debug.
thanks very much again.
immortality is offline   Reply With Quote

Old   December 1, 2012, 18:13
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
a question! what commands I should write if I dont want to use ./Allrun ?
thank you.
immortality is offline   Reply With Quote

Old   December 1, 2012, 18:23
Default
  #6
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
I run that.that was really interesting.thank you.
a irrelevant question.how can use the functions of temperature properties of perfect gas in rhoCentralFoam?like Janaf tables?
immortality is offline   Reply With Quote

Reply

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
Very technical question about solving wall boundary layer ... jlb001 FLUENT 6 December 27, 2014 06:56
Natural convection in a closed domain STILL NEEDING help! Yr0gErG FLUENT 3 June 12, 2013 02:12
Changing BC from Opening to Wall during Solving Ahmad M. Kermani CFX 0 December 17, 2008 22:20
Wall functions? Pr Main CFD Forum 7 April 8, 2004 06:15
Quick Question - Wall Function D.Tandra Main CFD Forum 2 March 16, 2004 05:29


All times are GMT -4. The time now is 23:36.