CFD computational fluid dynamics problem

6 ビュー (過去 30 日間)
Milan
Milan 2013 年 12 月 25 日
コメント済み: Ysabel Huaccallo 2016 年 4 月 16 日
Dear
I ve been working on particular problem of flow fluid through channel of rectangular cross section,geometry and metric data are listed below. My question is how to program this particular diferential equation (dp/dx) thanks in advance.

採用された回答

Milan
Milan 2014 年 2 月 4 日
編集済み: Milan 2014 年 2 月 4 日
I try to do this plot, but when i try do sum, get error. Any suggestion how ti deal with this?
>> suma=sum(-1).^((i-1)/2).*[1-(cosh(i*pi*z)./(2*a))./(cosh((i*pi*b)./(2*a)))].*(cosh((i*pi*y)./(2*a)/i^3))
Error using *
Inner matrix dimensions must agree.
  3 件のコメント
Milan
Milan 2014 年 2 月 7 日
編集済み: Milan 2014 年 2 月 7 日
I solve this problem, but I get another one. When I try to get mesh, report me next:
*>> mesh(x,y,z)
Error using mesh (line 76)
Z must be a matrix, not a scalar or vector*
Simple example whose I folow is:
>> [x,y]=meshgrid(-2:0.1:2, -2:0.1:2)
>> z=exp(-(x.*x+y.*y))
>> mesh(x,y,z)
And show me a 3D mesh. "y" and "z" in function is 0.1:0.1:1. For coordinate I put "Y"" and "Z". Try and see that matlab see difference between "y" and "Y". Any suggestion how to solve this?
P.S. I google this problem, but dont understand very well, amatuer in matlab...
Ysabel Huaccallo
Ysabel Huaccallo 2016 年 4 月 16 日
Hello, has anyone export data from matlab to FlexPde? Please I need to pass my simulation of CFD to Flexpde.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeComputational Fluid Dynamics (CFD) についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by