CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Tornado VLM Matlab Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2013, 07:58
Question Tornado VLM Matlab Error
  #1
New Member
 
Durukan TAMKAN
Join Date: Aug 2013
Posts: 1
Rep Power: 0
Puhumight is on a distinguished road
Hi;

While i was searching, i found the Matlab Tornado codes that is very useful for Vortex Lattice Calculations. I am trying to run tornado studentbatch.m file but i took the related error:


??? Reference to non-existent field 'aftfuse'.

Error in ==> bodyplot at 6
Z=Z.*body.length(i).*(body.aftfuse(i));

Error in ==> studentbatch at 148
bodyplot(body);


As a result i added "body.aftfuse= [ 0.5 0.5 0.5]; " to the studentbatch.m

then i get the following error :


??? Attempt to reference field of non-structure array.

Error in ==> iterateAlpha at 52
CW=-(weight.gravity*weight.unitvector(3)+TZtot)/qS;

Error in ==> fTrimCLconstEW at 124
[state,results,lattice,ref]=iterateAlpha(engine,state,weight,qS,results,geo,l attice,ref,solvertype,max_iterations);

Error in ==> studentbatch at 175
[results,rudderangle,state,engine,converged]=fTrimCLconstEW(geo,state,trimaxis,trimwing,trimru dder,solvertype,engine,weight,results)

Thus ; i added "weight.gravity=[9.81];weight.unitvector=[0 0 -1]; and changed weight=100 as weight.ew=100; " in the studentbatch.m
Because of changing "weight" as "weight.ew"; I modified all "weight" as "weight.ew" in the fTrimCLconstEW[/B]

Then i faced with the following;

??? Input argument "CD" is undefined.

Error in ==> iterateAlpha at 53
CZ0=results.CZ+CD(3);

Error in ==> fTrimCLconstEW at 124
[state,results,lattice,ref]=iterateAlpha(engine,state,weight,qS,results,geo,l attice,ref,solvertype,max_iterations);

Error in ==> studentbatch at 177
[results,rudderangle,state,engine,converged]=fTrimCLconstEW(geo,state,trimaxis,trimwing,trimru dder,solvertype,engine,weight,results)


Even i tried, i could not find what cd refers to. Because there are many cd values in the code and it seems like a matrix( because it's 3th component is used infTrimCLconstEW). Is there anyone to help me? I will be really appreciated. Thanks in advance...
The link of related code:
http://www.redhammer.se/tornado/DL.html
Puhumight is offline   Reply With Quote

Reply

Tags
error, matlab, tornado, vlm


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
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
[OpenFOAM] Saving ParaFoam views and case sail ParaView 9 November 25, 2011 16:46
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51
user defined function cfduser CFX 0 April 29, 2006 11:58


All times are GMT -4. The time now is 08:10.