CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Working directory in starccm+

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2013, 05:49
Question Working directory in starccm+
  #1
Member
 
Join Date: Oct 2011
Location: Thessaloniki, Greece
Posts: 75
Rep Power: 15
crevoise is on a distinguished road
Hello

I have some external file in order to initialize my computation in starccm while coupling it with a another software.
When running the initialization, starccm should call some external file and some log file are then created.

1/ When I place external files in my working directory, starccm crashes while doing the initialization
2/ Then I have placed the external file in the directory C/../documents, which correspond to the 'current directory' indicated when you go to 'Help>About' in the starcd menu. The initialization is thus working, with the requested log file produced.

I have thus several questions:

1/Why the 'current directory' given by the about pop up is 'My documents', and not the directory where is saved my *.sim file?
2/ How to change this path according to any simulation path I will create

Thanks a lot for you help
/crevoise
crevoise is offline   Reply With Quote

Old   January 18, 2013, 16:26
Default
  #2
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 22
abdul099 is on a distinguished road
I'm not fully sure since I usually run CCM+ in Linux (which is way better, but it should be similar under Windows).
But I think when you start STAR-CCM+, you're using a shortcut. When you right-click on the shortcut, there is this "execute in ..." input field. I think this path is the working directory. This is also the location where CCM+ shows the open dialog when I've started it. That's pretty similar to the directory I am when I start it under Linux, so it should be the working directory.

Please let me know if I'm right.
__________________
We do three types of jobs here:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   Reply With Quote

Old   January 21, 2013, 05:00
Default
  #3
Member
 
Join Date: Oct 2011
Location: Thessaloniki, Greece
Posts: 75
Rep Power: 15
crevoise is on a distinguished road
Hello Abdull,

Thanks for your answer.
When opening the dialog property box on the shortcut, there is the 'start in' which is defined with the 'installation directory' (program files\...)

When I change this directory by putting the path of my working directory, then the error mentioned in the first post does not occur when running my initialization, with creation of the requested files into my working directory.

However, this means for now, I will have to change this path anytime I am changing of working directory.

I guess there is a file in the installation directory which should give the info to starccm about the working directory, with the default path on the 'my documents' directory.
I did not found where this info is setup yet. Do you have any clue where this info is stored and how to make it dynamic?

Thanks again for your help
crevoise is offline   Reply With Quote

Old   January 21, 2013, 14:14
Default
  #4
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 22
abdul099 is on a distinguished road
I'm sorry, since I usually use STAR-CCM+ under Linux only, I don't know how to avoid this under Windows. Under Linux the working directory is just the directory you are (in a shell) when you start the software. Maybe you can try something similar under Windows, just to test if it works?

Otherwise I think it's best to get in touch with your support engineer at CD-adapco.
__________________
We do three types of jobs here:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   Reply With Quote

Old   January 22, 2013, 10:40
Default
  #5
Member
 
Join Date: Oct 2011
Location: Thessaloniki, Greece
Posts: 75
Rep Power: 15
crevoise is on a distinguished road
Hello Abdul,

I've done some more test, but eventually none of them worked. I will go on like that, and as in a short while I will install ccm on Linux I guess.
I will notice it to CD-Adapco in the meantime.

Thanks again for your concern and your advice.
crevoise is offline   Reply With Quote

Reply

Tags
ccm+, settup, working directory


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
[OpenFOAM.org] unable to source openFOAM under $HOME directory lilinghan8 OpenFOAM Installation 15 October 15, 2019 03:53
[waves2Foam] Waves2Foam Related Topics ngj OpenFOAM Community Contributions 660 August 20, 2018 13:39
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 06:18
How do I change the working directory taylorfe FLUENT 1 June 2, 2012 04:34
Working directory mgonzalo FLUENT 1 November 11, 2011 11:05


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