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

Import FSI Solution Files

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 23, 2016, 09:23
Default Import FSI Solution Files
  #1
New Member
 
Lucas Ribeiro
Join Date: Aug 2016
Posts: 23
Rep Power: 10
Warlord is on a distinguished road
Hello folks,

I am gonna put here the steps to run in batch mode to share the knowledge. I have run a FSI simulation in batch mode with the following commands:

Code:
#/bin/bash
nohup /usr/ansys_inc/v171/aisol/.workbench -cmd ansys.services.systemcoupling.exe -inputFile coupling.sci &

sleep 3
_PORT=`cat scServer.scs | grep  -o '[0-9]\+@' | grep -o '[0-9]\+'`
printf "Port is $_PORT\n"

nohup /usr/ansys_inc/v171/ansys/bin/ansys171 -b -i structural.dat -scport $_PORT -schost localhost -scname "Solution" -o ANSYS.out -np 6 &
nohup /usr/ansys_inc/v171/fluent/bin/fluent 3ddp -g -t8  -scname="Solution 1" -schost=localhost -scport=$_PORT -i fluidFlow.jou  > Fluent.out &
After exporting the following files:
coupling.sci, fluidFlow.cas, structural.dat
using respectively System Coupling, Fluent and Mechanical. I have created also the following file (also necessary for fluent):

Code:
file/start-transcript "fluidFlow.trn"
file set-batch-options , yes ,
file/read-case/fluidFlow.cas
solve/initialize/initialize-flow
(sc-solve)
wcd FluentRestart.cas.gz
exit
ok
My problem is that I don't know how to read the output files from the workbench environment so that I can check the results. Does anybody know? Is it possible to write a bash script for it?

Obs.: I am using Ansys 17.1
Warlord is offline   Reply With Quote

Old   January 1, 2017, 15:32
Default
  #2
New Member
 
Jetteke
Join Date: Feb 2016
Posts: 3
Rep Power: 10
Jetteke is on a distinguished road
I'm not sure if this is the official way, but what works for me is importing the results back in the respective solvers in workbench.
Thus, in workbench open mechanical, select solution in the tree, go to tools, and load the result files (file.rxxx)


for fluent, open fluent, go to solution files, recover missing solutions, and import your files, or cfdpost.

Or if you didn't use shell elements in your structural part, you can also view both results at the same time in cfdpost.

If you found another solution, could you post it here?
Jetteke is offline   Reply With Quote

Old   January 18, 2017, 12:35
Default
  #3
New Member
 
Lucas Ribeiro
Join Date: Aug 2016
Posts: 23
Rep Power: 10
Warlord is on a distinguished road
Unfortunately I could not find another way, being different then the one you said. And when I try to use the "recover missing solutions" approach, I simply cannot put all the files at once. VERY FRUSTRATING!
Warlord is offline   Reply With Quote

Reply

Tags
fsi, import, solution, workbench ansys 17


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
Unsteady simulation solution files in parallel gunnersnroses SU2 1 December 15, 2015 14:28
CFX 2-way FSI solution PranjalNewton CFX 3 October 27, 2015 15:44
HELP! FSI Tutorial Files! Mudassir ANSYS 0 April 20, 2014 14:27
May I import the definition or result files of CFX Hao FLUENT 0 November 26, 2008 05:12
Import of gambit db files worth Siemens 2 September 24, 2004 06:52


All times are GMT -4. The time now is 21:26.