Jump to content

Mr. Carsten Fuetterer

Moderators
  • Content Count

    163
  • Joined

  • Last visited

  • Days Won

    3

Mr. Carsten Fuetterer last won the day on February 12

Mr. Carsten Fuetterer had the most liked content!

Community Reputation

9 Neutral

1 Follower

About Mr. Carsten Fuetterer

  • Rank
    Moderator

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

830 profile views
  1. Hi Rohan, yes this is possible. You can create a shortest distance line: Best regards Carsten
  2. Hi Gabriel, problem is that you have a three sides face. So you need to collaps one edge. You can try to model the edge with a certain length and then use the a lofted surface with rails: in the second step you can collaps the three points at the edge: Hope that helps Carsten
  3. Dear Sokykang, Do you want to subtract the hull from a block inside CAESES or STAR-CCM+? best regards Carsten
  4. and befor the power command: "starccm+ -batch setup.java -cpubind -rsh ssh -np 7 -power " + getResultsDir() + "\R-FrontWing_2d_CFD.sim"
  5. 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
  6. Hi Roopesh, find attached the sample model. best regards Carsten pistonbowl.fdb
  7. hmm does it help when you remove the complete friendship folder in %APPDATA%? best regards Carsten
  8. strange, then you should be able to create a new 3D window here best regards Carsten
  9. 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
  10. 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
  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. Hey, attached is an example of a vertical axis wind turbine, modeled in CAESES. It is fully parametrized, so that an optimization with an external cfd tool can easily be executed. The shape can be varied from straight blades up to blades that are twisted around the vertical axis (helix). The helix shape helps to minimize the effects of uneven distributed forces along the axis and during the rotation. As a result the VAWT will oscilate less which makes it more robust. Further design parameters: pitchcambercamber positionchord lengthradiusmid radiusI created a simple cfd calculation with STARCCM+ to show some post processing functionalities. Have fun with the model cheers vertWind_forum1.fdb
  13. Hi, in some cases it is hard to get the exact position of the leading edge of a NACA profile, because the t-parameter (curve parameter) is not at 0.5 anymore. That is why I wrote a small feature which finds the t-parameter for the point which has the longest distance to the trailing edge. Furthermore I included a few lines in the feature to measure the elapsed time. This can be helpful to optimize your feature. (Thanks Stefan for this.) regards Carsten FindNacaStart.fdb FindProfileLeadingEdge.fdf
×
×
  • Create New...