INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Eng-Tips
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Good text editor for Nastran Deck?

Good text editor for Nastran Deck?

(OP)
Appreciate, if some one recomends good text editors (freeware) for Nastran deck. I had one good flexible text editor, that highlights all nastran keywords and wors well with huge text files. But I forget the name now. If any one has one, please recommed me.

RE: Good text editor for Nastran Deck?

UltraEdit.  Works great on large files; very fast.  Very good copy/cut/paste - can even select a block of text (columns x rows) rather than whole rows.  Well worth the cost.

RE: Good text editor for Nastran Deck?

Download cygwin (free), then you can use Nedit. Cygwin is great for many other reasons too... Recommend it.

awk, sed, Perl etc.



Live Long and Prosper !

RE: Good text editor for Nastran Deck?

Hi 39minuteman,

I am a naval engineer new user of Nastran.
I installed notepad++. Can you send me the Nastran highlighting scheme for it, please?

Thanx

RE: Good text editor for Nastran Deck?

crimson editor, and editpad, are both free stable and powerful text teditors for windows, crimson editor being my preferred one. winmerge or csdiff are good for doing diffs on decks, winmerge is prettier, csdiff will create a machine readable differences file.

 

Cheers

Greg Locock

SIG:Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.

RE: Good text editor for Nastran Deck?

I use PFE (Programmer's File Editor), it is very simple and intuitive to use. You can use create and run macros very easily. The disadvantage is the absense of a color scheme, or the capability of select columns... this make me sometimes use the crimson ... but indeed I always have used the PFE... I recommend both of FREEWARE programs!

1st - PFE
<http://www.lancs.ac.uk/staff/steveb/cpaap/pfe/pfefiles.htm>
2nd - Crimson
<www.crimsoneditor.com/>

have moderate fun
Celso

RE: Good text editor for Nastran Deck?

I use GNU Emacs v 23.1.  Has support for NASTRAN mode.
 

RE: Good text editor for Nastran Deck?

Hello,
can anyone send me Notepad++ highlight scheme for Nastran, please?
Thanks.
Mario

RE: Good text editor for Nastran Deck?

Hi Mario, I have done a syntax highlighting starting from the ultraedit syntax file. I believe there is no copyright on the syntax file and we can use for other text editor. If I'm wrong, please remove the post!

I attach the file here. let me know if is good for you.
Onda  

RE: Good text editor for Nastran Deck?

Hi Onda,

if tried your highlighting scheme, but in my case it doesn't work with the current version of notepad++ (it always breaks down).
@Mario: Is it working for you?

I'm searching for a scheme which is able to highlight every 8 columns of the .bdf file, so that you can easily read through the bulk entries. It's really was really enoying the first time with the windows editor.

Thanks in advance,
Heiko

RE: Good text editor for Nastran Deck?

I would like to try out the notepad++ style sheets, but don't know where to place that file.  Can anyone tell me where to place the .xml file?

RE: Good text editor for Nastran Deck?

Hi Paul,

I'm using the current 5.6.8 version of notpad++. There you can usally go on "setup" ("Einstellungen" in the german version), then click "import" and "themes". There you select the file. Afterwards you load this theme in "setup" -> "style".
But I've to admitt it doesn't work in my case. If anyone did manage to use the style-scheme....

Regards

RE: Good text editor for Nastran Deck?

Hi Paul,
I've read a lot of your interesting posts on VPD community.
In my computer the XML file is in the installation directory of notepad++ : C:\Program Files (x86)\Notepad++. (OS XP X64)
To keep the file in that location, during the installation you should check the box with the following text: "Don't use %APPDATA%"


Onda

RE: Good text editor for Nastran Deck?

Hi,
if reinstalled it the way you recommend: Now it worked. Everything looks very eyecatching except the 8 letters whide columns:

BEGIN BULK
$ Direct Text Input for Bulk Data
PARAM    POST    0
PARAM   PRTMAXIM YES
$ Elements and Element Properties for region : pshell.87967217
PSHELL  87967217 1      .7
$ Pset: "pshell.87967217" will be imported as: "pshell.87967217"
CQUAD4  153411028796721715443877 3007    2975   15443894 0.
CQUAD4  1534110387967217 2975    2946   1544389115443894 0.
CQUAD4  153411048796721715443878154438771544389415443895 0.
CQUAD4  153411058796721715443894154438911544389015443895 0.
CQUAD4  153411068796721715443879154438781544389515443896 0.
CQUAD4  153411078796721715443889154438961544389515443890 0.
CQUAD4  153411088796721715443880154438791544389615443897 0.
CQUAD4  153411098796721715443896154438891544388815443897 0.
CQUAD4  1534214687967217 3020    3007   1544387715443911 0.
CQUAD4  153421478796721715443878154439121544391115443877 0.
CQUAD4  153421488796721715443912154438781544387915443913 0.
CQUAD4  153421498796721715443913154438791544388015443914 0.

Isn't there someone having the same problem that you can't see to which field the entries belong to?

RE: Good text editor for Nastran Deck?

@ Nimbusbs

You could set one vertical line to check a field length.
to do this go under Configuration>Preferences>Editing>Vertical edge setting
Check the box for Show vertical edge
set a number multiplier of 8

RE: Good text editor for Nastran Deck?

Thank you Onda! Another method I thought about is to let Patran write the .bdf-file with entries sorted by comma:

CQUAD4,15342149,87967217,15443913,15443879,15443880,15443914, 0.

 Nastran would except that. But I didn't find an option yet...

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close