CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > FLOW-3D

How to import and run command file (*.enc) using FlowSight automatically?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 1, 2016, 21:22
Question How to import and run command file (*.enc) using FlowSight automatically?
  #1
New Member
 
bruce
Join Date: May 2012
Posts: 12
Rep Power: 14
brucecumt is on a distinguished road
Hello guys,

I want to use FlowSight to do the postprocessing of FLOW3D results automatically.

I have some experience in EnSight. With EnSight, I can use ‘ensight101 -p command.enc’ to read the command file automatically. The ‘command.enc’ is a command file saved in a previous session which can be played by EnSight to do the postprocessing automatically.

Question 1:
In FlowSight, there is the same command button and I can record to generate a command file(*.enc, *.cmd…). I also can load the command file to play using the GUI method manually. However I have no idea how to read the ‘command.enc’ using a command line like what I can do with EnSight (i.e. ‘ensight101 -p command.enc’).

Question 2:
I know the batch Post-Processing button in FLOW 3D actually uses FlowSight to do the post processing. With batch Post-Processing, I can get many useful graphics. However, I can hardly get and export useful customized values in text format with ‘Text Result’ in the batch tab. For example, you can only get values of history data, diagnostics and mesh dependent. If you want to get, say maximum velocity on the plane Y=0, you cannot get it with the ‘Text Result’ in the batch tab. I believe there should be a way to do this but I just cannot find any useful information in the help document.

Anyone can help me regarding any of the two questions?
Thank you very much.
brucecumt is offline   Reply With Quote

Old   November 21, 2016, 07:58
Default
  #2
New Member
 
Pankaj Lawande
Join Date: Mar 2014
Posts: 12
Rep Power: 12
pankajl is on a distinguished road
Hello Bruce,

I guess FlowSight context file should be the answer for both your queries. Let me explain you how in detail below :

1. You can record commands from a session (in format *.cmd/*.enc) in FlowSight as well in a usual way you do it in Ensight. But I am afraid this won't work very accurately as to make all the processes easy to use FlowSight itself does lot of things in background and those do not recorded in commands.

So. instead of using commands I will suggest you use context files (format *.ctx_f3d). Creating a context file is very easy, load a case > create and show parts/annotations/queries of your interest > adjust viewports layouts (if needed) > Save context file > Done !

You can apply this file
1. While opening a case
2. Loaded case
3. In batch file


2. You can load your case > create 2D clip at desired location > Calculate variable of interest (e.g. Max velocity) by selecting created clip > Plot this variable versus time.

Save context file as described above and use this context file in batch instead of text results.


I hope you find this useful ! Let me know if you have any questions in this.
pankajl is offline   Reply With Quote

Reply

Tags
automatically, batch, flow3d, flowsight, postprocessing


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
Automatically export all reports in batch f-w STAR-CCM+ 9 November 17, 2022 05:14
Run Multiple Files in Batch nickninevah STAR-CCM+ 6 October 12, 2017 07:17
Automatically exporting .CSV file from Plot LIP STAR-CCM+ 1 September 19, 2016 09:26
Import data fields for boundary conditions during run time aylalisa OpenFOAM Running, Solving & CFD 3 April 12, 2014 11:24
Run macro for Multiple file furione STAR-CCM+ 6 November 28, 2011 15:54


All times are GMT -4. The time now is 01:19.