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

How to use and compile comfortFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2017, 10:03
Default How to use and compile comfortFoam
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi everybody,

I have to correct Thomas a bit because it is not only downloading and compiling. In addition I want to say something about the comment you gave (Not Implemented Till Now).
  • First of all, maybe I was too lazy to provide a nice README but I expect that everybody knows how to use git If not, I am sorry and therefore you have to do the following stuff:
Code:
git clone https://shor-ty@bitbucket.org/shor-ty/comfortfoam.git
I guess that this step is clear. However, after that you have to choose your branch you want to use. As far as FOAM changes the coding style during its own development, I decided to use different branches too. That allow me to store the old versions for old FOAM versions while maintaining new versions without deleting the old once or making multiple folders for each OpenFOAM version (well, no one has to take care about that - its only my decision). Based on the fact that you are using a very old OpenFOAM version (2.3.0), I am not sure if it will work out of the box because I never tested it with 2.3.0 - However, try it. The next step is to switch to the needed branch - in your case to the comfortFoam version that is developed for OpenFOAM-2.3.x:
Code:
git checkout OpenFOAM-2.3.x
After that, there should appear a new sub folder with the source files. Go inside and build the application (wmake). Thus, the new application is located in $FOAM_USER_APPBIN and can be executed with by the command comfortFoam.
  • You mentioned the following: "Not Implemented Till Now"
Please read carefully. It is Not ALL Implemented Till Now amd refers to the functionalities that are listed above (in the readme file). In other words, it means that not all functions are included in the application. Maybe I will make some further developments (or Thomas) but at the moment there is no need. I just re-formated it and made some bug fixed based on wrong array initialization to speed up the performance (I have to say - dramatically :P) . I hope now it is clear.

Some addition hints
Based on the fact that this forum is about the Mean Age Of Air, the comfortFoam should not be discussed here. However, if you are interested in the mean time of the air, it would be easier for your to solve some passive scalar with a source term which contains a constant number of 1 per second.
__________________
Keep foaming,
Tobias Holzmann
Tobi 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



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