software: CFD POST ANSYS

menu bar, select Tools > Macro Calculator.

\

correction:

Ref pressure is relative pressure = abs pressure - reference pressure (in Fluent)

definitions;

Cp expression can be defined

as:

(Pressure - $pref [Pa])/dynHead

  • Pressure: static pressure

- $pref : the Ref. Pressure set in the macro calculator

- dynHead : a reference dynamic head (evaluated at the inlet) that can be defined as:

0.5 * areaAve(Density)@inlet * areaAve(Velocity)@inlet^2

- dynHead is a reference dynamic head

The
following information must be specified:


Boundary List: A list of boundaries
used in the simulation (blade).


Slice Normal: The axis that will be
normal to the slice plane.


Slice Position: The offset of the
slice plane in the direction specified by the normal axis.


Inlet Region: The locator used to
calculate inlet
quantities.


Ref. Pressure: The reference
pressure for the simulation.


Plot Axis: The axis on which the
results will be plotted.

Note for moving reference frame

use pressure as y variable, if moving reference frame is used,

cause the 'velocity' is 'relative velocity'

Code for ' pressure coefficient vs. x/c' in matlab

- Cpr.m

% plot and save 'pressure coefficient vs. x/c'
load pressure_9r_7.1m.out;
pressure=pressure_9r_7_1m(:,2);
x=pressure_9r_7_1m(:,1);
x=x+0.0139;
x_nor=x/0.0276;
cp=pressure_coeff(pressure); % user defined function
plot(x_nor,cp);
cp_x = [x_nor cp];
save -ascii presure_coeff_7.1m.txt cp_x

- pressure_coeff.m  code is as below

function cp= pressure_coeff(p)
% v : velocity
% p : pressure
% p0 : reference pressure
% rho : density
% omega: angular velocity, rad/s
% r : radius
r=0.207;
v = 0.6;
p0=0;
omega = 13.043;
rho = 998.2;
U = v^2 + (omega*r)^2;
cp=2*(p-p0)/(rho*U)

gnuplot script

#set terminal jpeg
#set output 'coeff_epp_gci.jpg'
#set terminal png
#set output 'pressure_tsr5.png'
set terminal postscript eps font 24
set out 'pressure_coeff_tsr5.eps'
#set terminal x11
set autoscale
unset log
unset label
unset pm3d
set key at graph .7, .4
set key spacing 1
set xtic auto
set ytic auto
set xlabel "x/c - Normalized chord length"
set xrange [*:*]
# r0 initial pulse
set yrange [*:*] set ylabel "C_{pr} - Pressure coefficient"
set style line 1 lt 1 lc rgb "black" lw 4 pointtype 6
set style line 2 lt 2 lc rgb "black" lw 4 pointtype 2
set style line 3 lt 3 lc rgb "black" lw 4
set style line 4 lt 4 lc rgb "red" lw 4
set style line 5 lt 5 lc rgb "black" lw 4
set style line 6 lt 6 lc rgb "brown" lw 4
set pointsize 2
set bars 3
plot "presure_coeff_3.3m.txt" using 1:2 t "3.5M" ls 1 with lines,\
"presure_coeff_5.4m.txt" using 1:2 t "5.4M" ls 2 with lines,\
"presure_coeff_7.1m.txt" using 1:2 t "7.1M" ls 3 with lines

pressure coeffcient of a wing/blade的更多相关文章

  1. mesh topology for airfoil, wing, blade, turbo

    ref Ch. 5, Anderson, CFD the basics with applications numerical grid generation foundations and appl ...

  2. post processing in CFD

    post post Table of Contents 1. Post-processing 1.1. Reverse flow 1.1.1. reasons 1.1.2. solutions 1.2 ...

  3. stall and flow separation on airfoil or blade

    stall stall and flow separation Table of Contents 1. Stall and flow separation 1.1. Separation of Bo ...

  4. TODO:Laravel 使用blade标签布局页面

    TODO:Laravel 使用blade标签布局页面 本文主要介绍Laravel的标签使用,统一布局页面.主要用到到标签有@yield,@ stack,@extends,@section,@stop, ...

  5. egret GUI 和 egret Wing 是我看到h5 最渣的设计

    一个抄袭FlexLite抄的连自己思想都没有,别人精髓都不懂的垃圾框架.也不学学MornUI,好歹有点自己想法. 先来个最小可用集合吧: 1. egret create legogame --type ...

  6. 【blade利刃出鞘】一起进入移动端webapp开发吧

    前言 在移动浪潮袭来的时候,小钗有幸进入框架组做webapp框架开发,过程中遇到了移动端的各种坑,也产生了各种激情,就我们公司的发展历程来说 第一阶段:使用传统方式开发移动站点,少量引入HTML5元素 ...

  7. 【blade的UI设计】理解前端MVC与分层思想

    前言 最近校招要来了,很多大三的同学一定按捺不住心中的焦躁,其中有期待也有彷徨,或许更多的是些许担忧,最近在开始疯狂的复习了吧 这里小钗有几点建议给各位: ① 不要看得太重,关心则乱,太紧张反而表现不 ...

  8. Reporting Service 告警"w WARN: Thread pool pressure. Using current thread for a work item"

    如果Reporting Service偶尔出现不可访问或访问出错情况,这种情况一般没有做监控的话,很难捕捉到.出现这种问题,最好检查Reporting Service的日志文件. 今天早上就遇到这样一 ...

  9. Traveling in Blade & Soul

    Traveling in Blade & Soul Walking is too simple. Having trained their physics and spirits for ye ...

随机推荐

  1. Postman发送GET请求带中文

    当使用Postman进行GET请求,并且请求参数里携带中文得时候,会请求失败 这时,需要对GET请求参数携带的中文进行编码即可请求成功

  2. codemirror插件-文件比较组件merge

    目的: 为了实现文件比较功能 引用文件 从github下载项目后,从以下路径引用文件,其中部分github分支中codemirror.js 需要运行项目,自动合成 <link rel=style ...

  3. J20170604-hm

    丸める   四舍五入 文字化け 乱码 わきまえる 弁える 辨别,识相 御構い 张罗,招待,款待 お構いなしに 不加考虑 しおり ブックマーク 书签 スタイルシート 样式表

  4. uml图六种箭头的含义(转载)

    在看一些技术博客的时候,经常会见到博客里画上很多uml图.因为经常会被这几种表达关系的箭头搞混,这里我就把常见的6种箭头表达的含义理一下. 泛化 概念:泛化是一种一般与特殊.一般与具体之间关系的描述, ...

  5. bzoj 4198: [Noi2015]荷马史诗【哈夫曼树+贪心】

    和合并果子类似(但是是第一次听说哈夫曼树这种东西) 做法也类似,就是因为不用知道树的形态,所以贪心的把最小的k个点合为一个节点,然后依次向上累加即可,具体做法同合并果子(但是使用优先队列 注意这里可能 ...

  6. springboot(二)整合mybatis,多数据源和事务管理

     -- 1.整合mybatis -- 2.整合多数据源 -- 3. 整合事务 代码地址:https://github.com/showkawa/springBoot_2017/tree/master/ ...

  7. Maven构建的生命周期

    什么是构建生命周期 构建生命周期是一组阶段的序列(sequence of phases),每个阶段定义了目标被执行的顺序.这里的阶段是生命周期的一部分.举例说明,一个典型的 Maven 构建生命周期是 ...

  8. gitlab&Jenkins 详细介绍及其应用

    第1章 gitlab 1.1 系统环境 [root@jenkins ~]# cat  /etc/redhat-release CentOS Linux release 7.2.1511 (Core) ...

  9. SQL 理论知识总结

    1..如何设计数据库 答:存储信息的大小,每次扩容的大小,冗余 2.SQL Server的两种索引是何形式?索引的作用?索引的优缺点? 答:集聚索引,非聚集索引.提高查询速度.但是会过多的占用磁盘空间 ...

  10. U - Relatives(欧拉函数)

    Description Given n, a positive integer, how many positive integers less than n are relatively prime ...