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

[OpenFOAM.com] v1612+ [Windows] How to change the workingDir shared folder?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By LThomes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 18, 2017, 06:56
Default v1612+ [Windows] How to change the workingDir shared folder?
  #1
Member
 
Join Date: May 2017
Posts: 47
Rep Power: 5
LThomes is on a distinguished road
Hello everyone,
I installed OpenFOAM on Windows and it was working fine, but now, I don't have access to the adimin folder anymore. Since it's the folder shared with the workingDir, I can't access my simulation files.
Is there anyway I could change the folder shared with the workingDir? (For exemple, c:\Users\Myname = workingDir)

Thanks in advance.
LThomes is offline   Reply With Quote

Old   May 18, 2017, 08:39
Default
  #2
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 129
Rep Power: 6
pgh is on a distinguished road
HI Thomes
I did not understand the issue exactly . Can you elaborate more ? . You copied tutorial in workingDir i.e inside workingDir say in folder tut which is same as C:\User\thomes\tut
, now you are saying that you cannot access the files in tut . You can provide right to particular user in Windows to have admin right which could solve the issue if i am right in my understanding
pgh is offline   Reply With Quote

Old   May 18, 2017, 09:12
Default
  #3
Member
 
Join Date: May 2017
Posts: 47
Rep Power: 5
LThomes is on a distinguished road
Let me try to explain better:
1. There is a shared folder between the container and Windows. So /.../ofuser/workingDir (something like that) is equal to C:/Users/admin on Windows ;
2. I don't have access to the admin folder, so it would be better to save my simulations in another folder;
3. So, I would like to share another folder with the container, i.e., I would like to set C:/Users/thomes to be the /.../ofuser/workingDir in the container.

Is it more clear?
LThomes is offline   Reply With Quote

Old   May 18, 2017, 09:38
Default
  #4
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 129
Rep Power: 6
pgh is on a distinguished road
Yes.. Thomes.. It is clear now . I will suggest following
i) Uninstall OpenFOAM and all component
ii) Provide admin right to user i.e Thomes
iii) Now user your login to install OpenFOAM . OpenFOAM installer use the login name
to map the area , so if you user admin acccount , it will map admin area.

I hope , it helps,
pgh is offline   Reply With Quote

Old   May 22, 2017, 08:16
Default
  #5
Member
 
Join Date: May 2017
Posts: 47
Rep Power: 5
LThomes is on a distinguished road
It worked!! Thank you very much.
pgh likes this.
LThomes is offline   Reply With Quote

Reply

Tags
change, folder, shared, windows, workingdir

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
decomposePar -allRegions stru OpenFOAM Pre-Processing 2 August 25, 2015 03:58
SigFpe when running ANY application in parallel Pj. OpenFOAM Running, Solving & CFD 3 April 23, 2015 14:53
OpenFOAM 1.6.x - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 68 April 22, 2013 11:03
How to change turbulence model in InterFoam Gildeh OpenFOAM Running, Solving & CFD 4 March 28, 2012 12:04
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 15:23.