Jump to content
Sign in to follow this  
inasiopo

Optimisation - Re-Analysis

Recommended Posts

Dear all,

 

Is there a way to automatically run OSSmooth and re-analysis with optistruct.

Basically up to now we are running an optimisation then going to hypermesh, running OSSmooth, and re-running optistruct to see what deflection we get with the optimised shape.\

Can we set that at once (maybe as a batch process) so we don't have to do the whole thing, and get optimisation + Re-analysis at once?

 

Many thanks.

Share this post


Link to post
Share on other sites
Guest

Hi @inasiopo

 

There is no direct way to do this. 

 

I will check if there is any script which automates this process. If not you may have to write your own script to automate the process :) 

Share this post


Link to post
Share on other sites

thank you.

 

Yes it would be awsome if there is something.

 

However, would you know how can we start an analysis (optistruct) through a tcl?? what is the command "Start optistruct analysis "fem.fem" "

 

 

Share this post


Link to post
Share on other sites

Hello again.

I am very new to this so please keep any answer to the simplest form.

I am trying to set a process with a batch file. This process will call a tcl that is looking for files (fem,sh,etc..) and then returns to finish. It looks like:

Batch --> Call tcl --> return to batch

In my batch file I have:

Set MyPath = C:\the path that files are in\
And then I am calling the tcl wich is in $MyPath$\MyTcl.tcl

That works ok up to here. But then in the tcl there are some processes that are looking for files in the same path (MyPath) and I am not sure how to use that same variable (pass the variable).

 

TCL looks something like:

 

*ossmooth_12 0 1 0 1 "C:\......\model.fem" "C:\......\model.sh" .....

 

but to make the process work we need the paths in this tcl to be variables coming from the batch. So it should look something like:

 

*ossmooth_12 0 1 0 1 "$MyPath$\model.fem" "$MyPath$\model.sh" .....

 

Any help on how we can set this please?

Many thanks in advance.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...