CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation on Windows, Mac and other Unsupported Platforms

generating .foam or .OpenFOAM file with openfoam installed on windows 7

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

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   March 14, 2014, 09:26
Default generating .foam or .OpenFOAM file with openfoam installed on windows 7
  #1
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 545
Rep Power: 12
vasava will become famous soon enough
I have managed to install openfoam2.1.x on windows 7. The tutorial example runs fine without any errors. Now I want to know how I could visualize the results on windows.

I already have paraview installed. I installed separately so it 'paraFoam' command does not work. Also the 'touch' command is also not working as I am in windows.

Anyone??
vasava is offline   Reply With Quote

Old   March 15, 2014, 06:32
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quick answer: On Windows, you can use this command:
Code:
echo. > case.foam
vasava likes this.
wyldckat is offline   Reply With Quote

Old   March 17, 2014, 02:25
Default
  #3
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 545
Rep Power: 12
vasava will become famous soon enough
Thanks I will try that.
vasava is offline   Reply With Quote

Old   March 20, 2014, 05:39
Default
  #4
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 545
Rep Power: 12
vasava will become famous soon enough
Quote:
Originally Posted by wyldckat View Post
Quick answer: On Windows, you can use this command:
Code:
echo. > case.foam
This worked fine. Thank you.
vasava is offline   Reply With Quote

Old   May 22, 2014, 10:35
Default
  #5
New Member
 
Liaoning
Join Date: May 2014
Posts: 9
Rep Power: 3
uuivw is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answer: On Windows, you can use this command:
Code:
echo. > case.foam
I just try it , and it let me select an application to open the file ,but paraview remind me that "Got unknown argument ",what's wrong~~
uuivw is offline   Reply With Quote

Old   May 24, 2014, 02:57
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Liaoning,

Quote:
Originally Posted by uuivw View Post
I just try it , and it let me select an application to open the file ,but paraview remind me that "Got unknown argument ",what's wrong~~
If you were to run this command:
Code:
paraview -help
in the command line, it should give you a list of options that can be used from the command line. In other words, the way you've done for associating ParaView to the file format ".foam", assumes that it could be launched like this:
Code:
paraview file.foam
Problem is that ParaView needs an additional argument for it to work, like this:
Code:
paraview --data=file.foam
Since it's a bit complicated to explain how this can now be fixed, it's easier to suggest the following steps:
  1. Start ParaView from the Windows Start Menu.
  2. In the command line where you are working with the case, run:
    Code:
    explorer .
    Notice the space and dot at the end, which will tell Windows Explorer to open in the current folder where the command line is working on.
  3. In Windows Explorer, select the full address of the folder and copy it.
  4. Go to ParaView, menu "File -> Open", paste the address in the file name edit box and press Enter. Then select the ".foam" file and click "Open".
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16
Doxygen documentation Tanay OpenFOAM Installation 9 September 23, 2011 11:40
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 11:23
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


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