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

Flat Plate analysis

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2013, 19:29
Default Flat Plate analysis
  #1
New Member
 
Ben Graves
Join Date: Dec 2012
Posts: 18
Rep Power: 13
bgraves is on a distinguished road
Hi guys,

I am new to OpenFOAM and trying to do this same analysis for a class. I am having trouble with the grid from the plot3d format into OpenFoam.

I am using the grid found on the http://turbmodels.larc.nasa.gov/flatplate_grids.html website. I have successfully imported the grid using the plot3dToFoam command, followed by the autoPatch command. My main question is how to break up the bottom patch into the two "different" sections (ie the plate and the symmetry boundary condition).

Any input would be unbelievably helpful.

Thanks
bgraves is offline   Reply With Quote

Old   February 10, 2013, 06:54
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Ben and welcome to the forum!

I think createPatch is what you should be looking for, for adding new patches in the exact place where you need them. I'll quote myself from an old thread:
Quote:
Originally Posted by wyldckat View Post
@Elise: You can with createPatch. You can find several examples by running:
Code:
find $WM_PROJECT_DIR -name createPatchDict
If your geometry has good features (i.e., not trying to create a small patch in a flat surface), you can use autoPatch.
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 11, 2013, 11:51
Default
  #3
New Member
 
Ben Graves
Join Date: Dec 2012
Posts: 18
Rep Power: 13
bgraves is on a distinguished road
Thank you so much for your speedy reply!!! The model works perfectly now!

-Ben
bgraves is offline   Reply With Quote

Old   February 15, 2013, 19:02
Default
  #4
New Member
 
Ben Graves
Join Date: Dec 2012
Posts: 18
Rep Power: 13
bgraves is on a distinguished road
Sorry to ask again I am trying to do the same thing, only this time I am using the grids found on http://turbmodels.larc.nasa.gov/bump_grids.html. I used the same method that you helped me with prior. Except this time when I wrote the topoSetDict file for the right side of the bump, the faceSet that it makes looks like the following:
0
(
)
Below is the topoSetDict file:
actions
(
{
name f0;
type faceSet;
action new;
source boxToFace;
sourceInfo
{
box (-25 0 0) (0 0 1);
}
}
{
name f1;
type faceSet;
action new;
source boxToFace;
sourceInfo
{
box (-0 0 0) (1.5 0 1);
}
);
Any help would be greatly appreciated!

-Ben
bgraves is offline   Reply With Quote

Old   February 16, 2013, 04:04
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Ben,

You need to give it some thickness over the Y axis, something like:
Code:
actions
(
  {
    name    f0;
    type    faceSet;
    action  new;
    source  boxToFace;
    sourceInfo
    {
      box (-25 -0.01 0) (0 0.01 1);      
    }
}
  {
    name    f1;
    type    faceSet;
    action  new;
    source  boxToFace;
    sourceInfo
    {
      box (-0 -0.01 0) (1.5 0.01 1);
    }
);
Best regards,
Bruno
laurentb likes this.
__________________
wyldckat is offline   Reply With Quote

Old   February 18, 2013, 10:46
Default
  #6
New Member
 
Ben Graves
Join Date: Dec 2012
Posts: 18
Rep Power: 13
bgraves is on a distinguished road
Bruno,

I want to really thank you for saving my butt again

-Ben
bgraves 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
Flow over a flat plate as an immersed solid hamed.majeed CFX 4 September 8, 2016 14:40
Flat plate analysis in cfx hamed.majeed CFX 14 February 4, 2015 07:07
Flow Over a Flat Plate recon9 CFX 1 January 20, 2011 21:09
Calculate Drag force for flat plate vsun FLUENT 0 October 3, 2010 07:56
entrance of a flat plate mc Main CFD Forum 0 April 24, 2007 22:38


All times are GMT -4. The time now is 03:11.