Executing System Couplings Using the Command Line - XiZi's Blog

Executing System Couplings Using the Command Line

Xizi posted @ 2013年3月15日 00:00 in ANSYS with tags ANSYS command line System coupling , 2924 阅读

 

To do this you’ll be running from the command line. Some details are in the Workbench documentation ( // System Coupling User’s Guide // Workflows for System Coupling // Executing System Couplings Using the Command Line) but I’ll provide more details here. I’ll assume you’re on Windows for now.

1. Create the MAPDL db file, Fluent cas file and System Coupling sci file. Creating the sci file is described in the documentation link above.
2. Create a simple Fluent journal file that starts Fluent in batch, reads the cas file and solves.
3. Create a simple MAPDL solver input file that resumes from the db file and solves.
4. Start the coupling service:
set PATH=%AWP_ROOT140%FrameworkbinWin64;%PATH%
“C:\Program Files\ANSYS Inc\v140\aisol\bin\winx64\Ansys.Services.SystemCoupling.exe” -inputFile -coupling.sci
5. Note the port and hostname in the scServer.scs file that gets created.
6. Starts the Fluent solver, e.g:
“C:\Program Files\ANSYS Inc\v140\fluent\ntbin\win64\fluent.exe” 3ddp -hidden
-driver null -scport=12345 –schost=hostname -scname=”Solution“ -i fluidflow.jou > FLUENT.out

rc "FFF-1.cas" 
/file/auto-save/df 10
/file/auto-save/rn "FFF-1.gz"
/solve/set/ts 0.001
/solve/set/nots 100000
/solve/initialize/hyb-initialization 
(sc-solve)
/exit

7. Start the MAPDL solver, e.g:
“C:\Program Files\ANSYS Incv\140\ansys\bin\winx64\ANSYS140.exe” -b -scport 12345 -schost hostname -scname “Solution 1″ -i structural.dat -o ANSYS.out

PS:

Here is a batch file which can run above process sequensly.

 

@echo off 
setlocal enabledelayedexpansion

del "scServer.scs" 2>nul
start /b Ansys.Services.SystemCoupling.exe -inputFile sc.sci

:WAIT_SCSERVER
if not exist "scServer.scs" (ping -n 1 127.0.0.10 2>nul 1>nul && goto WAIT_SCSERVER)

Set /p scinfo=<"scServer.scs" 
if "%scinfo%"=="" goto WAIT_SCSERVER

for /f "tokens=1,2 delims=@" %%i in ("%scinfo%") do (
set SCPORT=%%i
set SCHOST=%%j
)

if !SCPORT!=="" goto WAIT_SCSERVER
if !SCHOST!=="" goto WAIT_SCSERVER

echo %SCHOST% %SCPORT%
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" amd64
REM start /b ANSYS145.exe -dis -mpi intelmpi -np 4 -b -scport !SCPORT! -schost !SCHOST! -scname "Solution 1" -i structural.dat -o ANSYS.out
start /b ANSYS145.exe -b -scport !SCPORT! -schost !SCHOST! -scname "Solution 1" -i structural.dat -o ANSYS.out -np 6
start /b fluent.exe 3ddp -t4 -scport=!SCPORT! -schost=!SCHOST! -scname="Solution" -i fj.jou -wait > FLUENT.out
goto :eof
Avatar_small
abc 说:
2019年5月17日 00:44
CGC Jhanjeri is one of the best colleges in the North India and we are providing the best quality of education in various courses
engineering college in mohali
best b tech college in punjab
online cgc admission
cgc campus
top civil engineering college in punjab
college with best placement in chandigarh
Avatar_small
Mark 说:
2019年5月30日 01:16

Our academic pursuits, along with a range of extracurricular activities, help in honing a child's skills and ensuring that he/she grows to be a mature and responsible citizen.
best rating school in greater noida

Avatar_small
ab 说:
2019年6月27日 00:49

We are known for our quality of support and customer service. This high quality support is delivered through our regional and branch offices across the country.
macBook reseller in delhi
mac pro reseller in ahmedabad
macbook pro reseller kolkata
macbook air reseller in delhi
ipad service center in kolkata
imac reseller mumbai

Avatar_small
abc 说:
2019年11月18日 00:43

Welcome to the world of gaming, where life is fast paced and interesting. There is always an adventure waiting for you online.
buy csgo smurf
csgo bundle accounts

Avatar_small
abc 说:
2019年11月18日 00:43

The goal of the society is to create professionally well skilled students To achieve the said goal, arrangements have been made with the pioneers and front runners both in India and abroad.
school in premnagar dehradun

Avatar_small
Harry 说:
2022年1月30日 02:51

This really which means delightful not to mention original. I just absolutely adore typically the styles not to mention anyone who will become it again in your mailing could be cheerful. buy table runners online

Avatar_small
Spielmaker 说:
2022年5月01日 00:29
Ver Estrenos Doramas Peliculas Y DoramasMp4 Gratis HD, Mirar DoramasFlix Completo Capitulo Sub estreno doramas Online.
 
Avatar_small
faddy 说:
2022年6月06日 21:32

I am happy to find this post Very useful for me, as it contains lot of information. I Always prefer to read The Quality and glad I found this thing in you post. Thanks ruskin fusible link 165

Avatar_small
Albert 说:
2022年7月04日 02:21

I am young spirited woman with an incredible body, soft skin and nice figure giving your best expertise what you ever will get. Escorts in Bangalore

Avatar_small
faddy 说:
2022年8月05日 23:31

I'm glad to see the truly amazing detail here !. 토토사이트

Avatar_small
faddy 说:
2022年8月06日 02:16

Great post, and great website. Thanks for the information! 토토

Avatar_small
dark web/deep web/d 说:
2022年8月21日 00:46

If a company seems too good to be true, it probably is. Scam artists thrive on people who are looking for easy ways to make money.  dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月21日 01:46

So are there really reliable sites where you can find dark web links and make money? The answer is yes but proceed with caution. deep web

Avatar_small
dark web/deep web/d 说:
2022年8月21日 02:11

So what can we do about this question, can I make money on dark web sites? You can't actually make money through links. It's like a pyramid scheme where you have to pay for every member you recruit.  dark web sites

Avatar_small
dark web/deep web/d 说:
2022年8月21日 02:32

However, it's not a guarantee that you will get links from these directories and hence, you might have to pay for the links that you have provided. dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月21日 02:51

Making money through links works by linking to other websites and when your link is clicked, the people who come across your links will end up at your website.  dark web

Avatar_small
dark web/deep web/d 说:
2022年8月21日 03:07

If you are going to learn how to succeed with affiliate marketing, the first thing you need to do is find an area of interest.  work from home jobs

Avatar_small
dark web/deep web/d 说:
2022年8月21日 03:26

Once you have found sellers of these items, it will be necessary for you to arrange some sort of payment system so that your site visitors will be able to readily purchase the products or services you have chosen. affiliate marketing success

Avatar_small
HASNA 说:
2022年8月31日 02:48

I love your wp web template, exactly where would you obtain it through? annoyed1heal.com

Avatar_small
DDD 说:
2022年9月11日 23:13

In Korea, the official company that can be used legally is Sports Toto, and its official site is called Batman Toto. In other words, there is only one official site, and all other private Toto site companies are operating illegally. 토토커뮤니티

Avatar_small
HASNA 说:
2022年9月28日 20:29

KEIF Restaurant, Dubai: See 65 unbiased reviews of KEIF Restaurant, rated 4 of 5 on Tripadvisor and ranked #1,901 of 13,110 restaurants in Dubai."KEIF RESTAURANT, Dubai - Business Bay - Menu, Prices & Restaurant Reviews - Lebanese Restaurant

Avatar_small
asass 说:
2022年10月01日 03:02

the TV Stands that i bought online is made of lighweight aluminum, i like aluminum because it can be anodized- skup aut Bełchatów

Avatar_small
AFFE 说:
2022年10月03日 00:39

The company offers a top-notch law coursework writing service for essays, term papers, thesis, dissertations, coursework, research paper, or any ... essay writing service law school

Avatar_small
AFFE 说:
2022年10月03日 02:19

BUCIN777 adalah salah satu daftar situs judi slot online terbaik, dengan kumpulan game slot online gacor mulai dari Pragmatic Play dan Slot88 terlengkap ... slot

Avatar_small
Shaadi Mubarak 说:
2022年11月09日 23:30

Girls from poor backgrounds are likely to lead a miserable life if no action is taken. The family cannot afford decent living which might affect the girl’s marriage life. Lack of funds is the key concept to marriage arrangement financial strain. Shaadi Mubarak However, the Telangana state government has special intentions for girls from minority communities. A new and exclusive scheme is implemented by the government to cater to girls and families living in poor situations.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee