CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Cylinder simulation,simpleFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 8, 2017, 11:21
Default Cylinder simulation, simpleFoam terminal question
  #1
New Member
 
Marius Lang
Join Date: Sep 2017
Posts: 19
Rep Power: 8
Ursmooth is on a distinguished road
I downloaded a program that solves blockMesh – simpleFoam – Re = 100000 – K-Omega SST turbulent model with no wall functions. And to run the program I need to type in simpleFoam > log | tail -f log in the terminal. What does the " > log | tail -f log " part do and why do i need to enter it??

It says "If you do not have pyfoam enter: simpleFoam > log | tail -f log"

Last edited by Ursmooth; September 8, 2017 at 13:53. Reason: New question
Ursmooth is offline   Reply With Quote

Old   September 8, 2017, 20:20
Default Re: Cylinder simulation,simpleFoam
  #2
aow
Member
 
Andrew O. Winter
Join Date: Aug 2015
Location: Seattle, WA, USA
Posts: 78
Rep Power: 10
aow is on a distinguished road
Hey Marius,

Quote:
What does the " > log | tail -f log " part do and why do i need to enter it??
"simpleFoam > log" will write the output of simpleFoam to a file called "log" so you can see it's progress (current time, Courant number, residual of solution iterations, etc...).

I'm not sure why you would want the "| tail -f log" part, because it seems like you don't need it since the output is already being written to the log file. The tail command outputs the last part of a file. Using the "-f" option to "follow" the file makes the data accumulate and each line is appended to the output. See the "man page" for the tail command, or, enter "man tail" in a terminal for more info.

Best regards,

Andrew
aow is offline   Reply With Quote

Reply

Tags
openfaom

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
Flow past a 2D cylinder - High Re (1E+05) - Cd too high Pervispasco OpenFOAM Running, Solving & CFD 4 March 14, 2022 02:19
Drag force coefficient too high for a flow past a cylinder using komega sst Scabbard OpenFOAM Running, Solving & CFD 37 March 21, 2016 16:16
Forces Acting on a Rotating Cylinder (Moving Mesh) dreamchaser CFX 5 April 25, 2015 06:01
Incorrect Drag and Drag Coefficient for flow over a cylinder ozzythewise Main CFD Forum 8 June 13, 2012 06:24
[blockMesh] Specifying boundary faces failes in blockMesh blaise OpenFOAM Meshing & Mesh Conversion 0 May 10, 2010 03:56


All times are GMT -4. The time now is 09:03.