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

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 Search this Thread Display Modes
Old   March 14, 2014, 08: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: 732
Rep Power: 22
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, 05:32
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 01:25
Default
  #3
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
Thanks I will try that.
vasava is offline   Reply With Quote

Old   March 20, 2014, 04:39
Default
  #4
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
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: 12
Rep Power: 11
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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 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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
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 17:18
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 16:53.