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

grep -r inletOutlet

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By chelvistero
  • 1 Post By olesen

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2010, 22:54
Default grep -r inletOutlet
  #1
Member
 
Join Date: Dec 2009
Posts: 33
Rep Power: 16
smillion is on a distinguished road
Hey guys,

I'm trying to find all the case files where it uses the inletOutlet condition.

I've tried typing grep -r inletOutlet and ls | grep -r inletOutlet within my tutorials directory. Problem is it takes forever to search unless I'm doing something wrong.

Please help?
smillion is offline   Reply With Quote

Old   May 28, 2010, 03:10
Default
  #2
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 18
Chris Lucas is on a distinguished road
Hi,

you can use the programm "docFetcher" you search all files

Regards,
Christian
Chris Lucas is offline   Reply With Quote

Old   May 28, 2010, 03:35
Default
  #3
Member
 
Axel Söhngen
Join Date: Jan 2010
Location: Germany, Trier
Posts: 31
Rep Power: 16
chelvistero is on a distinguished road
Hi,
try "grep -ir inletOutlet *" . I think that should work!

Regards, Axel
mm.abdollahzadeh likes this.
chelvistero is offline   Reply With Quote

Old   May 28, 2010, 04:05
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning

You could also try

find ./ -type d -name "0" | xargs grep -r inletOutlet

This is of course limited to the 0 time folder, however it should be more than sufficient in your case and it is fast.

Have fun

Niels
ngj is offline   Reply With Quote

Old   May 28, 2010, 09:47
Default
  #5
Member
 
Join Date: Dec 2009
Posts: 33
Rep Power: 16
smillion is on a distinguished road
Thanks for the help.
smillion is offline   Reply With Quote

Old   May 31, 2010, 06:21
Default
  #6
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by smillion View Post
Hey guys,

I'm trying to find all the case files where it uses the inletOutlet condition.

I've tried typing grep -r inletOutlet and ls | grep -r inletOutlet within my tutorials directory. Problem is it takes forever to search unless I'm doing something wrong.

Please help?
If you are looking for examples from 1.6.x, this is quite fast:
Code:
git grep --cached inletOutlet
mm.abdollahzadeh likes this.
olesen is offline   Reply With Quote

Reply


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
[Tutorials] Tutorial of how to plot residuals ! wolle1982 OpenFOAM Community Contributions 171 February 20, 2024 03:55
Inletoutlet rengu OpenFOAM Running, Solving & CFD 8 December 25, 2015 16:44
Plotting Residuals ata OpenFOAM 12 July 8, 2011 03:50
InletOutlet boundary condition in motorBike tutorial madad2005 OpenFOAM 2 November 27, 2009 09:15
RasInterFoam STRANGE RESULTS AT BOUNDARY kumar2 OpenFOAM Running, Solving & CFD 8 March 24, 2008 19:38


All times are GMT -4. The time now is 22:56.