|
[Sponsors] |
January 2, 2020, 16:40 |
periodic triangular wall fortran
|
#1 |
New Member
Join Date: Sep 2016
Posts: 20
Rep Power: 9 |
hello every one
i want help please i want to create a 2d cavity with a triangular wall like in the picture if someone have an idea how to generate the periodic triangular wall please help |
|
January 3, 2020, 02:45 |
|
#2 |
Member
Join Date: Aug 2018
Posts: 77
Rep Power: 7 |
homework problem? In any case, what are you asking? How to create the geometry? mesh? or the boundary conditions?
|
|
January 3, 2020, 05:13 |
|
#3 |
New Member
Join Date: Sep 2016
Posts: 20
Rep Power: 9 |
||
January 3, 2020, 07:02 |
|
#4 |
Member
Join Date: Aug 2018
Posts: 77
Rep Power: 7 |
||
January 3, 2020, 07:05 |
|
#5 | |
New Member
Join Date: Sep 2016
Posts: 20
Rep Power: 9 |
Quote:
thanks |
||
January 3, 2020, 07:35 |
|
#6 |
Senior Member
|
Are you using a specific software? Maybe that has a dedicated forum here.
Also, geometry means nothing. Do you need the geometry in some specific format, or the mesh in it (and which format)? If you are doing it from scratch in fortran, I guess you have little chances, because it is clear that those are piecewise linear functions and you will face much harder problems along the route. Moreover, the problem is symmetric, you just need half of that. |
|
January 3, 2020, 07:44 |
|
#7 |
New Member
Join Date: Sep 2016
Posts: 20
Rep Power: 9 |
i think my question wasn't clear enough
i think the geometry and the mush are related so i have done with corrugated wall by using a sin function to generate the mush now i want to change the wall to periodic triangular like in the picture above i'm doing it from scratch in fortran. thank you all. |
|
January 3, 2020, 07:53 |
|
#8 | |
Senior Member
|
Quote:
you already have a mesh generator in Fortran for a case very similar to the one depicted in the picture you posted, but with a sinusoidal top boundary. You have a function, the sin indeed, that is used to generate the top part of your domain and whatever is linked to it. You are looking for some mathematical function that, once inserted in the place of the sin one, would change your top boundary and the resulting mesh in the one for the triangular top boundary. Now, this is very clear, but I'm not sure you can get the expected result without trouble. Nonetheless, the obvious option here would be to define your own Fortran function ytop(x,other_parameters) and do everything in that. You can basically code your function in a thousand ways, just check here: https://en.wikipedia.org/wiki/Triangle_wave EDIT: note how you can get almost there also using just 3 harmonics of the Fourier representation (in case it might be a problem for your code to have singularities in the top boundary). |
||
January 3, 2020, 08:40 |
|
#9 | |
New Member
Join Date: Sep 2016
Posts: 20
Rep Power: 9 |
Quote:
yes this is exactly my problem |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Periodic Wall Motion | Panglos | FLUENT | 4 | December 12, 2023 15:18 |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 01:44 |
[ICEM] Periodic condition between ICEM and FLUENT | Touré | ANSYS Meshing & Geometry | 0 | August 5, 2012 17:00 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 18:56 |
Wall functions | Abhijit Tilak | Main CFD Forum | 6 | February 5, 1999 01:16 |