Jump to content

Mr. Carsten Fuetterer

  • Content Count

  • Joined

  • Last visited

  • Days Won


Mr. Carsten Fuetterer last won the day on December 15 2020

Mr. Carsten Fuetterer had the most liked content!

Community Reputation

8 Neutral

1 Follower

About Mr. Carsten Fuetterer

  • Rank

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

490 profile views
  1. Dear Sokykang, Do you want to subtract the hull from a block inside CAESES or STAR-CCM+? best regards Carsten
  2. and befor the power command: "starccm+ -batch setup.java -cpubind -rsh ssh -np 7 -power " + getResultsDir() + "\R-FrontWing_2d_CFD.sim"
  3. Hi Mingi, can you try to put a space after the power command? "starccm+ -batch setup.java -cpubind -rsh ssh -np 7-power " + getResultsDir() + "\R-FrontWing_2d_CFD.sim" cheers Carsten
  4. Hi Roopesh, find attached the sample model. best regards Carsten pistonbowl.fdb
  5. hmm does it help when you remove the complete friendship folder in %APPDATA%? best regards Carsten
  6. strange, then you should be able to create a new 3D window here best regards Carsten
  7. Hi Claudio, can you close CAESES and then please go to %APPDATA%/friendship and delete the etc folder. After that the problem should be fixed. best regards Carsten
  8. Hi, if you want to read data from text or csv files it's fairly simple to do it in a feature definition. We use a simple file like this: To start we create a new feature definition: In the "create function" tab, we can use the code templates to create a basic control structure: The variable "FilePath" is not defined and has to be supplied with an argument. In this case I want the object "file" as an argument. So I comment the first line from the feature and create an new argument: The feature code looks like this: You can see that a string is create for each line of the file. So now we have to split this string in order to access the double values. Therefor I use the split command, which has the output of an objectlist. Then I create a point, which accesses each value of that object list: Now we have to store the points for each line inside an extra objectlist.Therefor we create a new list and add the point: Finally we create fore example an bsplinecurve, with the new list of points. Additionally encapsulated the while loop into a persistent section in order to visualize the points for each loop. Otherwise we would just see the last point. Now we create the feature from the feature definition: We set the path to the reference file: This nice dialog only appeared, because we didn't allow expressions for the argument inside the feature definition: The final curve: I hope this helps you to create you own custom file reader. best regards Carsten readTextFile.fdb data.zip
  9. 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
  10. 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
  • Create New...