XANSYS Message: 41077 [Go back to message list]
[bookmark on del.icio.us]
No rating yet
Rate item:

Subject: Re: [APDL] *vread with mixed character/number array.
Author: Joe Metrisin
Date: 2002-08-26 07:03:00

Hi John,

I think as a general case, it would be nice if ANSYS could read a line up to
128 characters and ignore lines with characters in columns that are supposed
to contain numbers.

Bob Weathers suggestion is more general, and would fit my needs too if it
could be done.

Regards,

Joe Metrisin
Florida Turbine Technologies, Inc.

Date: Thu, 22 Aug 2002 14:54:29 -0400
From: John Swanson
Subject: RE: Re: [APDL] *vread with mixed character/number array.

My immediate thought was "Nope, can't do that because ansys uses the
system read with the
user supplied format statement". However, the clever suggestions contained
here might offer some
hope, especially with the c formats.
Can someone help me understand better what is desired. Is it as simple
as ignoring any lines
which contain characters? Or do we need to ignore lines which contain
characters in columns which
are supposed to contain numbers? If we were to read the entire line as a
character string, then
decode it internally, what would the maximum line length be? Would a fixed
limit like 128 of 640 (slower)
be acceptable?
Comments, anyone?
John Swanson
Swanson Analysis Services, Inc.

> -----Original Message-----
> From: Joe Metrisin [SMTP:jmetrisin@t...]
> Sent: Thursday, August 22, 2002 2:34 PM
> To: 'xansys@yahoogroups.com'
> Subject: [xansys] Re: [APDL] *vread with mixed character/number
> array.

> Many thanks to Ashok, Gordon, Bob, and others for their clever
> workarounds.
> Since we are writing macros to automate repetitive procedures, it would be

> nice if ANSYS had the ability to ignore characters during *VREAD. For now

> we are stuck with slow workarounds, or additional processing outside of
> ANSYS.

> Regards,

> Joe Metrisin
> Florida Turbine Technologies, Inc.

Posts possibly associated with message #41077AuthorDateScore
40991[APDL] *vread with mixed character/number array.Joe Metrisin2002/08/22 
40992Re: [APDL] *vread with mixed character/number array.Dave Conover2002/08/22 
40993Re: [APDL] *vread with mixed character/number array.Peter Frei2002/08/22 
40994Re: [APDL] *vread with mixed character/number array.Joe Metrisin2002/08/22 
40995Re: [APDL] *vread with mixed character/number array.Ashok2002/08/22 
40996Re: [APDL] *vread with mixed character/number array.Gordon May2002/08/22 
40998Re: [APDL] *vread with mixed character/number array.Peter Frei2002/08/22 
40999Re: [APDL] *vread with mixed character/number array.Ian Prentice2002/08/22 
41002Re: [APDL] *vread with mixed character/number array.Don Shaffer2002/08/22 
41011Re: [APDL] *vread with mixed character/number array.Joe Metrisin2002/08/22 
41013Re: [APDL] *vread with mixed character/number array.John Swanson2002/08/22 
41077Re: [APDL] *vread with mixed character/number array.Joe Metrisin2002/08/26 
41079Re: [APDL] *vread with mixed character/number array.John Swanson2002/08/26 
41080Re: [APDL] *vread with mixed character/number array.Ashok2002/08/26 
41083Re: [APDL] *vread with mixed character/number array.John Crawford2002/08/26 
41084Re: [APDL] *vread with mixed character/number array.Bob Weathers2002/08/26 
41086Re: [APDL] *vread with mixed character/number array.Ashok2002/08/26 
41093Re: [APDL] *vread with mixed character/number array.John Crawford2002/08/26 
41101Re: [APDL] *vread with mixed character/number array.Joe Metrisin2002/08/26 
41103Re: [APDL] *vread with mixed character/number array.Eric Miller2002/08/265
41106Re: [APDL] *vread with mixed character/number array.Fernand Thomassy2002/08/26 
41110Re: [APDL] *vread with mixed character/number array.Eric Miller2002/08/26 
41112Re: [APDL] *vread with mixed character/number array.Dan Bohlen2002/08/26