|
[Sponsors] |
October 13, 2018, 07:25 |
|
#21 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Jibran,
My apologies, but I'm having a bit of difficulty understanding to which page you are referring to?
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 |
|
October 16, 2018, 06:27 |
|
#22 | |
Member
|
Quote:
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:
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 |
||
October 20, 2018, 17:03 |
|
#23 | |||||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Jibran, sorry for the late reply...
Quote:
The idea was also to have the more critical links accessible from the main page for quick access... Quote:
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:
Quote:
Quote:
Best regards, Bruno |
||||||
October 1, 2019, 17:32 |
gedit error
|
#24 |
New Member
Marina
Join Date: Sep 2019
Posts: 6
Rep Power: 7 |
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. |
|
October 2, 2019, 22:35 |
|
#25 |
New Member
Rubens Stuginski Jr
Join Date: Apr 2009
Location: Passo Fundo, RS, Brasil
Posts: 7
Rep Power: 17 |
Hi Marina,
You are probably using windows. Did you install gedit ??? Not? Try to install from: https://wiki.gnome.org/Apps/Gedit#Download |
|
August 14, 2022, 14:55 |
Step-through of openfoam code when running tutorial?
|
#26 |
Member
Michael Jensen
Join Date: May 2022
Posts: 36
Rep Power: 4 |
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.. |
|
June 21, 2024, 07:54 |
|
#27 | |
Senior Member
Marcin
Join Date: May 2014
Location: Poland, Swiebodzin
Posts: 313
Rep Power: 13 |
Quote:
* 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/ |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Memory protection in OpenFOAM / combinig with FORTRAN | botp | OpenFOAM Programming & Development | 2 | February 15, 2016 13: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 06:51 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 04:14 |
OpenFOAM Install problem | masb | OpenFOAM | 3 | May 25, 2009 12:32 |
Summer School on Numerical Modelling and OpenFOAM | hjasak | OpenFOAM | 5 | October 12, 2008 14:14 |