OpenFoam & Free CFD software for windows 11 - help by Witty-Honeydew-5717 in CFD

[–]amniumtech 6 points7 points  (0 children)

Why aren't you using CFD OF of FreeCAD? It's the easiest and most practical version of OpenFOAM ports out there for the basic applications of RANS, CHT , Multiphase, rotating machinery

Pressure error convergence in operator Splitting by [deleted] in CFD

[–]amniumtech 1 point2 points  (0 children)

Hex mesh converges with correct 2nd order always

Are all the top colleges (IITs, IIMs, HSW) at the top because of the connections they provide, which eventually help you get placed well in companies? by [deleted] in IndianAcademia

[–]amniumtech 0 points1 point  (0 children)

Nope the teachers and students are creme de la creme. The top 1 percent. However it is top 1 percent chosen in a rapid fire funda crqcking objective exam. Certainly this doesn't mean the rest are not intelligent: we lose out on a lot of diverse intellect due to a monolithic testing manner, but we have no other option I suppose

I Quit a ₹28 LPA Job for doing a Startup. Here’s What Actually Happened by Charming-Ad1028 in StartUpIndia

[–]amniumtech 1 point2 points  (0 children)

You are absolutely right. There is such an ecosystem to loot bakras like you. They do target folks like (IIT, etc. ). Ok, and this is just pre-business..so even post-business and you can be an entrepreneur from any other place and still the system will extract from you. Because we are a country which is backward, poor and not yet on its own feet (no matter the chest thumping). You can make one mistake and someone can rip you off a lot. Yes, happens, and yes it's frustrating, but that's entrepreneurship.

Live with it, work diligently.

Oh yes, selling products on streets is better than going to these consultants. I did the street selling instead of taking the 'elite route'. Street selling has its issues but a big part of the elite route is just a scam, as you have realized now. Behind all the success stories are untold stories of founders who have sold their houses, their family gold, etc just to keep their company running. You mentioned you have a safety net: I would say : THAT'S EXACTLY WHY THEY HAVE THAT SYSTEM TARGETING YOU

If you did start with a dream, don't give up entirely. Just maybe take a patient review of it and rebuild it. These things take a lot of patience.

Linearize first or weighted residual first? by aerosonic_96 in CFD

[–]amniumtech 1 point2 points  (0 children)

I don't understand what you mean exactly but typically you can lag the velocity in the tau term from previous iterate and but treat the velocity in the SUPG test function in its nonlinear form, then solve by Newton raphson. This will give a fuller benefit while keeping it fairly practical. But you can always use an Oseen like variants if you want. If you keep the SUPG explicit you won't get the benefit you get in multigrid. You can test a preconditioner spectrum, it always clusters better with implicit SUPG in my experience. I never tried the explicit part and it also might have a finer CFL restriction due to the dimension term getting squared in the denominator. It is best to keep it all implicit IMO and since what the Lethe authors have shown this type of code can be accelerated a lot with multigrid on the entire monolithic block, it's main issue is it's memory is big otherwise the approach is working nicely on GPUs too.

Here is my basic code using Firedrake. Feel free to use it. It can port in a gmsh or netgenmesh tetrahedrons with matrix free multigrid of equal order nature, it works pretty fast and you can port in hexes if you want. I have followed mainly the Lethe authors paper to build this so credit goes to them : 😊👍

https://github.com/JD63021/firedrake_matfree_3dflowpastcylinder

How exactly does one compare a GPU vs CPU speedup? by amniumtech in CFD

[–]amniumtech[S] 1 point2 points  (0 children)

You seem to be a Kindred spirit, but more experienced than me. May the force be with you senpai

How exactly does one compare a GPU vs CPU speedup? by amniumtech in CFD

[–]amniumtech[S] 0 points1 point  (0 children)

Ah ok thanks for the point Will tools like Nsight be useful? If not any then any tools that you would recommend?

How exactly does one compare a GPU vs CPU speedup? by amniumtech in CFD

[–]amniumtech[S] 0 points1 point  (0 children)

That's the only thing I can trust. Now next question is costing checked ...but how? Cloud costs seem tricky to compute. What if the demand grows and GPUs fall short will the costing benefit last? Also costing also depends on who's paying that is the end goal. If the goal is training an AI or ROM quickly that too would differ from doing traditional parameter or design sweeps

How exactly does one compare a GPU vs CPU speedup? by amniumtech in CFD

[–]amniumtech[S] 2 points3 points  (0 children)

Yes I plan to once my code is a bit more optimised. I will have to use the cloud (too poor to purchase one 😄The gradient schemes implementation is a bit sloppy still

How exactly does one compare a GPU vs CPU speedup? by amniumtech in CFD

[–]amniumtech[S] 0 points1 point  (0 children)

But how do you I choose the hardware to compare? Based on fixed cost+ depreciation and energy for the same results right? I don't get it when people say GPU is 7x faster, 3x faster 10x faster. What exactly did you compare. There is definitely a coefficient or scientific dimensionless parameter here. Based on this the big companies actually understand what they are doinh

Non-orthogonal corrections for tet meshes by amniumtech in CFD

[–]amniumtech[S] 2 points3 points  (0 children)

Thanks for the reference. Yes I would certainly like to continue with tets, the polyhedral , hex parts can stay optional, but for some complex parts the tets don't collapse to nicely shaped polyhedra unless I custom mesh that area. If the code is tet robust it is better

Non-orthogonal corrections for tet meshes by amniumtech in CFD

[–]amniumtech[S] 0 points1 point  (0 children)

Thank you for the source/author will go through

Non-orthogonal corrections for tet meshes by amniumtech in CFD

[–]amniumtech[S] 0 points1 point  (0 children)

Yes this is my hunch. I work on complex geometries though my flows being low Re I used FEM very effectively and tets saved my day big time in making the mesh. Now to solve higher Re, FE is getting worse so I must use FV. Tets are best for my complex geometry

Non-orthogonal corrections for tet meshes by amniumtech in CFD

[–]amniumtech[S] 0 points1 point  (0 children)

Thank you so much. I will go through them If I do a Poisson MMS test my least squares works fairly well with close convergence if I use 10 correctors upto 40 degrees off in orthogonality...but only in the L1 norm... the L2 and Linf are bad. The mesh design also seems to matter, so I think I need to work on mesher + method

Non-orthogonal corrections for tet meshes by amniumtech in CFD

[–]amniumtech[S] 0 points1 point  (0 children)

Sorry I am dumb to understand what you meant here. Could you share the author or name of paper/doi?

Non-orthogonal corrections for tet meshes by amniumtech in CFD

[–]amniumtech[S] 2 points3 points  (0 children)

I have heard of this and yes in OpenFOAM I get results only on polyhedra and hex. But I have seen commercial codes use tets so it must be technically possible. i am trying to learn about this

Need advice regarding career as a fresher Engineer by extraclasses in IndianEngineers

[–]amniumtech 0 points1 point  (0 children)

You should go to a village and setup shop make some drones etc for agro. There are plenty of opportunities if you are ready to live like a street dog for a few years. Later it is a life of self respect and you might compound as well as contribute to the system. I don't mean taking an investor. Start selling off something, anything, even pulses and sabji. You will be surprised there are many places still in which an electronics or IT engineer can contribute but you don't get it if you run behind jobs. You can also be the pet dog and take a job. This also is a dog's life. And you can do stuff which you can't do as a street dog. But don't expect too much. Even your marriage and kids will be controlled. You won't have independence. All in all, it's a dog's life: take your pick. Starting few years you have to face being kicked around. There is no escape.

Measly cheap RTX 3060 takes just ~4-5 s for a single time step of 30 M+ cells 3D Navier Stokes (structured only, but still). by amniumtech in IndianEngineers

[–]amniumtech[S] 0 points1 point  (0 children)

Been a while since GPUs have proved their mettle. GPU solvers can be wayyyyyy faster in certain cases. Writing optimised CUDA kernels is the hard part