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

Getting Started with OpenFOAM

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

Like Tree38Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 13, 2018, 06:25
Default
  #21
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
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 Jibran,

My apologies, but I'm having a bit of difficulty understanding to which page you are referring to?
  1. If you are referring to revising this page: https://openfoamwiki.net/index.php?t...rontpage_Learn
  2. Or to the main entry page: https://openfoamwiki.net
  3. Or referring to a new wiki page where more details can be provided?
  4. Or if you are referring to the current thread we are reading from?
If you are referring to the current thread we are on and reading from, it's preferable that we switch to using a wiki page instead... wait, I've just remembered a page that was a prototype that I had started for József Nagy: https://openfoamwiki.net/index.php/Learning_Hub

So please do help/contribute in any way you can, so your help is very much welcome! And do feel free to rework completely this wiki page: https://openfoamwiki.net/index.php/Learning_Hub - it can then be added to the end of the https://openfoamwiki.net/index.php?t...rontpage_Learn once it's well composed, in the sense that a more complete list is given on said learning hub page...

If you don't like the name "Learning Hub", please do feel free to start a new page!

Once you've got it written, I'll edit the first post on this thread we are on and provide the link to that wiki page instead .

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   October 16, 2018, 05:27
Default
  #22
Member
 
Jibran
Join Date: Oct 2012
Location: UK
Posts: 61
Blog Entries: 1
Rep Power: 14
Jibran is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Hi Jibran,

My apologies, but I'm having a bit of difficulty understanding to which page you are referring to?
  1. If you are referring to revising this page: https://openfoamwiki.net/index.php?t...rontpage_Learn
  2. Or to the main entry page: https://openfoamwiki.net
  3. Or referring to a new wiki page where more details can be provided?
  4. Or if you are referring to the current thread we are reading from?
If you are referring to the current thread we are on and reading from, it's preferable that we switch to using a wiki page instead... wait, I've just remembered a page that was a prototype that I had started for József Nagy: https://openfoamwiki.net/index.php/Learning_Hub

So please do help/contribute in any way you can, so your help is very much welcome! And do feel free to rework completely this wiki page: https://openfoamwiki.net/index.php/Learning_Hub - it can then be added to the end of the https://openfoamwiki.net/index.php?t...rontpage_Learn once it's well composed, in the sense that a more complete list is given on said learning hub page...

If you don't like the name "Learning Hub", please do feel free to start a new page!

Once you've got it written, I'll edit the first post on this thread we are on and provide the link to that wiki page instead .

Best regards,
Bruno

Hi Bruno,

Sorry, I wasn't clear enough. I was referring to the main OpenFOAM wiki page (https://openfoamwiki.net/index.php/Main_Page). Some of the issues I can think at the top of my head are:
  1. A lot of useful OpenFOAM material is not mentioned on the wiki page.
  2. If added, I think it would need a little bit of restructuring. For example separate training material for beginners, intermediate and advanced users of OpenFOAM.
  3. Some of the material seems duplicated.
  4. Quite a few dead links.
  5. Some important OpenFOAM events are missing like https://www.esi-group.com/company/ev...onference-2018
I believe we can restructure the page in better manner and I know that it will require some hard work but I am willing to dedicate some time there!

I completely agree with you that after these modifications there would be no need for this current thread on CFD Online and it can direct the users to the wiki page. Moreover, we could do the same for the events and community contributions mentioned on this page (https://www.cfd-online.com/Forums/op...cements-other/).

I think I'll contact you privately to discuss more about the Learning Hub page if that is ok.
__________________
Jibran Haider
Jibran is offline   Reply With Quote

Old   October 20, 2018, 16:03
Default
  #23
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
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 Jibran, sorry for the late reply...

Quote:
Originally Posted by Jibran View Post
I was referring to the main OpenFOAM wiki page (https://openfoamwiki.net/index.php/Main_Page). Some of the issues I can think at the top of my head are:
  1. A lot of useful OpenFOAM material is not mentioned on the wiki page.
  2. If added, I think it would need a little bit of restructuring. For example separate training material for beginners, intermediate and advanced users of OpenFOAM.
The main page wasn't meant to have all of the links needed... it is always necessary to point to other wiki pages with more details...
The idea was also to have the more critical links accessible from the main page for quick access...

Quote:
Originally Posted by Jibran View Post
  • 3. Some of the material seems duplicated.
    4. Quite a few dead links.
You can look into the wiki code in the main page, even though you don't have edit permissions: https://openfoamwiki.net/index.php?t...ge&action=edit

And then create a new test wiki page on your own test page: https://openfoamwiki.net/index.php/TestJibranhaider
( the page name convention for test pages ... found it, the entry-point is this one: https://openfoamwiki.net/index.php/Main_TestSite )
and paste the wiki code into the new page...

Once the work is done, ask Bernhard Gschaider (https://openfoamwiki.net/index.php/User:Bgschaid at the wiki) if your modifications can be transferred to the main page. I believe you can also DM him on Twitter about this as well, if you want to first confirm with him if he's OK with your proposing the new changes...


Which reminds me... Bernhard did start implementing the template mechanism for a few sections on the main page... which I believe you've already seen. It might be just a matter of applying this feature to all blocks in the main page, so that it's easier for anyone to edit them.


Quote:
Originally Posted by Jibran View Post
I believe we can restructure the page in better manner and I know that it will require some hard work but I am willing to dedicate some time there!
Events... I know there is a mechanism for it already... The entry point for adding new events is this page: https://openfoamwiki.net/index.php/Events



Quote:
Originally Posted by Jibran View Post
Moreover, we could do the same for the events and community contributions mentioned on this page (https://www.cfd-online.com/Forums/op...cements-other/).
I'm not seeing your perspective properly on this... because to me that sounds like doubling the effort and I believe that people rarely visit the openfoamwiki.net for news... although I guess this can be changed for the better?

Quote:
Originally Posted by Jibran View Post
I completely agree with you that after these modifications there would be no need for this current thread on CFD Online and it can direct the users to the wiki page.
[...]
I think I'll contact you privately to discuss more about the Learning Hub page if that is ok.
Feel free to do so, but please use the Private Message system here on the forum for this. I usually try to keep forum/wiki conversations about OpenFOAM off my email accounts, because otherwise I'll loose track of the conversations and might accidentally let the email as already read and not remembering to answer it later on...

Best regards,
Bruno
Jibran likes this.
wyldckat is offline   Reply With Quote

Old   October 1, 2019, 16:32
Default gedit error
  #24
New Member
 
Marina
Join Date: Sep 2019
Posts: 6
Rep Power: 7
Marina PA is on a distinguished road
Hi, I'm trying to configure a mesh following several tutorials.
I have to run the following command:
gedit system/blockMeshDict
but I have an error such as gedit: command not found
I don't understand this because I have gedit installed and it usually runs normally.
Marina PA is offline   Reply With Quote

Old   October 2, 2019, 21:35
Default
  #25
New Member
 
Rubens Stuginski Jr
Join Date: Apr 2009
Location: Passo Fundo, RS, Brasil
Posts: 7
Rep Power: 17
rubens is on a distinguished road
Hi Marina,
You are probably using windows. Did you install gedit ??? Not?
Try to install from: https://wiki.gnome.org/Apps/Gedit#Download
rubens is offline   Reply With Quote

Old   August 14, 2022, 13:55
Default Step-through of openfoam code when running tutorial?
  #26
Member
 
Michael Jensen
Join Date: May 2022
Posts: 34
Rep Power: 4
mikethe1wheelnut is on a distinguished road
Hi!


OpenFoam has a million lines of code. Apparently. That's a lot. Take a while to read. A standard technique for understanding what a code is doing is to step through it. [For context, an alternative method of learning how to use a tool like this is to try changing variables, etc, seeing what the result is. To an extent, this is shooting in the dark.] To phrase that yet another way, it would be very useful to have an "interface" with the code such that it shows you, systematically, what it is doing to setup the broblem, then to solve it. You need to define, say, the differential equations, then the boundary conditions, then the initial conditions, then solve. An "interface" (do I mean gui? maybe? -I'm anticipating that people might interpret it that way..) for doing this would be very useful and helpful. Something that allows you to both literally move through it line-by-line (which might take a very long time), or from file-to-file, or just skipping over loops, etc. This would/could be the link between setting up the problem, for example, with pen-and-paper, (or as code you write yourself) writing down all the equations and boundary conditions and initial conditions then calling a solver you've written (or found?), and using everything the way the tutorials are setup, where you provide a bunch of files, then put in a command, the program runs, and you get an output. (the shooting in the dark method). So, does such an interface exist? It seems to me that this would go a long way toward speeding peoples understanding of how the source code all works together. Thanks for your time for reading this! -I should specify that I'm using ubuntu..
mikethe1wheelnut is offline   Reply With Quote

Old   June 21, 2024, 06:54
Default
  #27
Senior Member
 
Martin_Sz's Avatar
 
Marcin
Join Date: May 2014
Location: Poland, Swiebodzin
Posts: 313
Rep Power: 13
Martin_Sz is on a distinguished road
Quote:
Originally Posted by Marina PA View Post
Hi, I'm trying to configure a mesh following several tutorials.
I have to run the following command:
gedit system/blockMeshDict
but I have an error such as gedit: command not found
I don't understand this because I have gedit installed and it usually runs normally.
The error "gedit: command not found" indicates that the terminal you're using cannot locate the gedit executable. Here are a couple of reasons why this might happen and how to fix it:
* Incorrect Shell Path:
* The terminal might not have the directory containing gedit included in its search path (PATH environment variable).
* Solution: Try opening the file using the full path to the executable, which is usually something like /usr/bin/gedit. If it opens successfully, you'll need to modify your shell's PATH environment variable to permanently include the directory containing gedit. You can find instructions for doing this online by searching for "how to modify PATH environment variable" for your specific terminal.
* Not Installed or Missing Permissions:
* In rare cases, gedit might not be installed or lack the necessary permissions to be executed.
* Solution: Use your package manager (e.g., apt for Ubuntu/Debian) to check if gedit is installed. If not, install it using the appropriate command. If it is installed, try running the command with an administrator prefix (usually sudo) to check permissions. However, avoid using sudo for everyday tasks as it grants elevated privileges. It's better to fix the PATH environment variable if that's the issue.
__________________
Quick Tips and Tricks, Tutorials FLuent/ CFX (CFD)
https://howtooansys.blogspot.com/
Martin_Sz 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
Memory protection in OpenFOAM / combinig with FORTRAN botp OpenFOAM Programming & Development 2 February 15, 2016 12:25
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 05:51
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 03:14
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 11:32
Summer School on Numerical Modelling and OpenFOAM hjasak OpenFOAM 5 October 12, 2008 13:14


All times are GMT -4. The time now is 20:42.