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

Using same grid for different attack angles

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2017, 15:02
Default Using same grid for different attack angles
  #1
Member
 
gereksiz
Join Date: Mar 2015
Posts: 42
Rep Power: 11
clktp is on a distinguished road
I have a geometry and I wanna obtain pressure on its surfaces for flow directions. Well you can think like different attack angles, it is not an airfoil though. The problem is I wanna use the same grid without generating grid every time but I have no idea how to do if it is possible of course.

Can I use a interface or something else to do it? I was wondering maybe there is a way to do it in a similar way to rotating axis approach. In my case nothings rotates obviously.
clktp is offline   Reply With Quote

Old   July 5, 2017, 04:14
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

You can, it can be done either using a circular domain or using a rectangular domain. We typically use a circular domain for wind studies with multiple directions and then use groovyBC to set an atmospheric boundary layer outlet/inlet boundary condition where the behavior of the domain boundary condition depends on the angle specified in the groovyBC variables.

Something like this:

Code:
    Domain
    {
        type            groovyBC;
        value           $internalField;
        valueExpression "vector(sin(alpha*pi/180),cos(alpha*pi/180),0)*Uvalue";
        gradientExpression "vector(0,0,0)";
        fractionExpression "(phi > 0 ) ? 0 : 1";
        variables       "Uvalue=5;alpha=74.50;";
    }
Best regards,
Tom
tomf 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
Grid Check Script pdp.aero SU2 2 April 23, 2015 01:54
High Lift Airfoils At High Angles Of Attack Luiz Pancini FLUENT 2 April 9, 2015 08:01
Need Cl,Cd for high angles of attack Poojitha FLUENT 2 October 24, 2013 00:01
Grid Adaptation Suresh FLUENT 0 October 15, 2003 13:18
GRID TO GRID INTERPOLATION in FLUENT calogero FLUENT 3 June 4, 2003 08:32


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