Jump to content

Search the Community

Showing results for tags 'openfoam'.

The search index is currently processing. Current results may not be complete.


More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • CAESES®
    • General Modeling
    • Software Connections
    • Variation & Optimization
    • Post-Processing
    • Feature Programming
    • Installation
    • Miscellaneous
    • Ideas and Suggestions
    • FAQ

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Blogs

  • Mr. Arne Bergmann's Blog
  • FSYS DAEHWAN PARK
  • Mr. Arne Bergmann's Blog
  • Rel 3.1
  • Joerg Palluch's Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 13 results

  1. Dear everyone, as my highschool-graduation project, i'm designing, (hopefully) optimizing and then fabricating an Aero-Package for a Racing Kart. Setting up the geometry and running it seperately in OpenFOAM didn't pose any problems; both in WSL and with the native-Windows(https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/windows#native-windows) version. I followed the CAESES as a GUI for OpemFOAM webinar, but instead of using cygwin, I used the native-Windows version as mentioned above. As the executable, I still inserted the path to the mintty.exe file, which in my case is located in OpenFOAM/v2312/msys64/usr/bin/ When trying to run the computation, it copies all wanted files into the right directory, but doesn't seem to be able to run the Allrun script, even when having put in the suggested string as an argument. Does someone have an idea where I went wrong? Should I try to connect it in Linux instead of Windows, would that be easier? I attached the stdouterroroutput.redirect and the Allrun file. (Also it doesn't work when I insert Allrun as the executable) Thank you very much in advance, Gian Ratschiller Allrun stdouterroroutput.redirect
  2. HI! I have a question After I completed the openfoam connection in CAESES, he needed to run it for the first time so that he could have reference values for optimization. However, during the first execution, he was unable to converge and openfoam terminated the calculation. I know this seems to be a problem with openfoam, but when I exported the model and ran it alone through openfoam, it was successfully executed and converged, and all my settings in openfoam were the same. I don't understand why the openfoam operation in caeses cannot converge, but openfoam alone can converge normally? Thanks for your help!!! Best Regards YuKai
  3. Hello I have some questions !! I have completed the openfoam connection and executed it successfully, but I would like to ask how I want to set the optimization parameter file. In the example, there is a pin.dat file that can be set as a parameter, and after my current openfoam value calculation is completed, it will Generate force .dat file, how do I set it to the optimization parameters? I am currently writing a python program that allows it to calculate the force.dat file into a total resistance parameter and write it into a blank dat file so that this parameter can be used as an optimized setting, but I am not sure about my approach. Can the effect be achieved? In addition, I would like to ask how the force.dat file cannot be written by caeses after the openfoam execution is completed, and the path generated by it is a bit wrong. How do I need to change it? As shown in the red circle in the picture The correct path should be /home/ncku514/Desktop/kcsopenfoam1030/1107KCSRHINO/manual_results/baseline/openfoam/postProcessing/force1/0/force.dat But he is missing /postProcessing/force1/0/ Thanks for your help!!! Best Regards YuKai
  4. Hello! I try to understand the parameters in the example,but I'm green hand in CAESES,there are some things I still don't understand. I don't know how the parameters in the example (red in the picture) are generated, and what the parameters mean. In addition, if the example hull model is replaced with the DTC_Hull model in Openfoam, CFD resistance simulation calculation is performed, because my project needs to optimize the hull and perform resistance simulation for comparison. How do I get started, and is there a basic tutorial on openfoam connections? Thanks for your help!! Best regards YuKai
  5. Hello, I am very new to CAESES. I am following the video tutorial: sduct CAESES as openFOAM GUI. I am working on Ubuntu 14 with CAESES 4 and OpenFOAM 6. The Issue is: openFOAM scripts runs successfully with the STL generated by CAESES trimesh without the connection. I try to connect OF6 with CAESES4, hit RUN and the taskMonitors looks like this. Then I found a new directory of files copied. The Allrun also seems to run which generates empty log files. I do not find any result file, in this case, folder named "500". This is the Allrun: blockMesh > blockLog surfaceFeatures -overwrite > surfaceLog snappyHexMesh > snappyLog simpleFoamShear > simpleLog #post processing postProcess -func 'patchAverage(name = sduct_lightpink,p) ' -latestTime >pin.dat case.foam *************************************************************************************************************** I was not able to upload the project file to the forum. But I am more than willing to provide it via other methods. I really appreciate any help! WX
  6. Hello, This guide will show you how you can connect OpenFOAM to CAESES-FFW or any other application. Using the Software Connector, you need a executable of the Local Application. If you want to start this application with a script, do following: create on your Desktop a text file with the execution command of your desired external application (OpenFOAM) and save as 'adder' add the script 'adder' to your Input Files in the Software Connector and 'double click' it, so that it is copied into the project and is converted to a Template click on computation (in the center of the Software Connector) create a new Local Application (using the green + symbol) define the Executable: write down the name of the Template 'adder' which you have imported in the Input Files run the Computation (click on the play button) check the result in the Task Monitor (on the right side shaded widget) and click the green button in the top left corner to show the finished computations Attached is a little example which shows this. In this example the script adds the Argument of the computation (which is defined by the Variable pm1) to a defined Variable in the script (addend). Best regards The Team of FRIENDSHIP SYSTEMS SoftwareConnectorExecutable.fdb
  7. Hi everybody, I got acces to our university-cluster and can run OpenFoam on it in parallel. I wrote a script that identifies a stl-file and builds an OpenFoam-run case to be copied and executed on the cluster. After the calculation my script analyses the results and plots a results.dat. My question is how can i connect CAESES with my script to run automated optimizations for my project? Can it be done by software connector ? Best regards Sebastian Edit: The script is written in Python and runs on a Linux-machine like the cluster
  8. Hello, I am really new to CAESES and I tried the s-duct tutorial, followed all steps but I am getting an message: External process start failure [Starting process C:/Users/HP/Desktop/skola/DP/sduct/sduct/manual_results/baseline/Runner//Allrun failed: Process failed to start:] Currently using OpenFOAM v1912 installed on Ubuntu 18.04 for Windows 10, Allrun and stdouterroroutput files are attached. I will really appreciate any help! stdouterroroutput.redirect Allrun
  9. Hey all, Is there any documentation for connecting OpenFoam run in WSL? If not, has anyone done this before and could share some tips, Thanks! Bradley
  10. Hello everybody! I have a few days on the openfoam connection, and searching through the forum about it. I'm trying to follow the "Sduct with OpenFOAM" tutorial, to get a grasp of it. I got to the step 10 (triggering the first run). The "stdouterroroutput.redirect" file states the error: "fileName::stripInvalid() called for invalid fileName complete/path/to/Runner For debug level (= 2) > 1 this is considered fatal". This goes for: Exec : blockMesh -dict system/blockMeshDict Exec : snappyHexMesh -overwrite Exec : simpleFoam But in none of these files is there a filename specified, so I got no idea what's happening. Other question: The tutorials and video talk of these "software connector" that has been configured before, is there a tutorial to learn to configure this file? Should I install Helyx-os for handling these files? Or I can do that from CAESES? Cheers, and thanks for your time. Xavier
  11. Hi guys, today I want to share with you my latest feature which creates a bounding box for your OpenFoam internal flow geometry. The idea came, when I struggled with SnappyHexMesh because the edges of the boundaries where not captured correctly, which resulted in a bad prismlayer mesh like this: (image 1) I found out that the reason for this, was the bounding box, where the inlet and outlet boundary do not lay within the first layer of the box like this: (image 2) So I created I bounding box which automatically adjusts with the changing geometry. It calculates the maximum and minimum positions and creates the bounding box with a user specified offset. A nice setup looks like this: (image 3) This setup produces a nice volume mesh with clean prism layers: (image 4) The complete bounding box, where the subdivision in x, y and z coordinates can be specified, looks like this: (image 5) The following picture shows how to connect the BlockMeshDict with the bounding box feature: (image 6)Remember that you have to create an entry for the vertices by selecting these, right click and select new entry: (image 7) This creates a new entry in your config dialog. There you have to change the type to FString: (image 8)Do the same for the line where the blocks are defined (see image 6).Now you have create a new entry for the point in mesh, which you can find in your SnappyHexMeshDict. Follow the same procedure, but just mark the three coordinate like this for a new entry:(image 9)That's it. This is just a first version of the feature. I could imagine to write another feature for the creation of the bounding box for external flows, where you could specify different patches within the BlockMeshDict. Of course you are also welcome to post your features here in the forum. Attached is the feature and an example how to use this feature with a complete software connector. This example by the way couples OpenFoam for Windows with CAESES. Have a nice day Carsten duct_win_forum.fdb OpenFoam_BoundingBox.fdf
  12. Hi All, Recently I wanted to investigate the use of OpenFOAM for CFD calculations for a model built in CAESES and perform an optimization at a later stage. Although the OpenFOAM is a C++ library meant to be run in Linux systems, I wanted to test the configuration on my Windows pc and I found this compiled OpenFOAM 2.3 version available. After installing the software as instructed I had to change a little bit the configuration of the software connector in CAESES. Basically, I called the mintty.exe terminal application and run a modified version of the Allrun.sh shell script, as demonstrated at the ahmed body sample. You can find attached a picture of the LocalApplication and its arguments, the modified shell script Allrun.sh and the modified project file of the Ahmed Body sample provided with CAESES installation. Please notice that I have configured the OpenFOAM calculation to run on a single processor and deactivated any parallel computing, because of my restricted resources, but you could easily restore that back. I had also to change some points in the RunFunctions file located in /opt/OpenFOAM/OpenFOAM-2.3.x/bin/tools and you can find attached this new file too. If you are interested in learning how to manipulate OpenFOAM or try some simple simulations on your windows machine, you can give it a try. Cheers, Ilias. ahmedbody.fdbc Allrun.zip
  13. Hi together, Please note that CAESES can be utilized as an OpenFOAM GUI (Graphical User Interface). There are free academic versions of the CAESES pro edition for students and PhD students as well as trial licenses with flexible time frames. There are also special editions for small companies, start-ups and freelancers. Compared to other tools in the market, CAESES is good at automation, i.e. if you already have an existing OpenFOAM setup and you want to analyze design variants of your product, then CAESES might be a perfect choice. Especially, if geometry variation plays a major role. In contrast to that, a tool such as HELYX-OS might be a better choice e.g. if you would like to set up an OpenFOAM case from scratch. Here are some CAESES-specific offers: Conveniently configure and manipulate template files (e.g. controlDict or any other ASCII file) in the GUIChange your geometry design and trigger OpenFOAM with a single mouse-click for analysis (i.e. streamline your design process / automation)Use your individual result values such as pressure loss or homogeneity for an objective function in design studies and shape optimizationsPostprocess your simulation data (streamlines, contour plots etc) Here is a video that shows some of the features in CAESES. Cheers Joerg LAST UPDATE FEBRUARY 2018
×
×
  • Create New...