CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: aerosayan
Forum: Main CFD Forum May 18, 2021, 03:59
Replies: 11
Views: 881
Posted By aerosayan
Thank you for your time and effort, you have made...

Thank you for your time and effort, you have made some really helpful points about how CFD solvers are traditionally written. They will be helpful for guiding my designs. :)




How about for...
Forum: Main CFD Forum May 17, 2021, 14:07
Replies: 11
Views: 881
Posted By aerosayan
@paolo Someone showed me why the L3 cache...

@paolo Someone showed me why the L3 cache performance keeps degrading in the code.

It's actually not degrading. It's probably converging to the actual expected performance.

When I increase the...
Forum: Main CFD Forum May 17, 2021, 07:59
Replies: 11
Views: 881
Posted By aerosayan
@paolo The safest way to use restrict in C and...

@paolo The safest way to use restrict in C and __restrict__ in C++ seems to be when they're passed to a function. I will write a safety guideline after I optimize and verify my code. In C++, using...
Forum: Main CFD Forum May 17, 2021, 06:44
Replies: 11
Views: 881
Posted By aerosayan
Fortran looks good. It's safe and simple. C++ is...

Fortran looks good. It's safe and simple. C++ is being tied up to a nuke, and launched into the sun.


I will have to decide if I want to write the extremely critical sections of the computational...
Forum: Main CFD Forum May 17, 2021, 05:35
Replies: 11
Views: 881
Posted By aerosayan
I think I might be causing undefined behavior due...

I think I might be causing undefined behavior due to incorrect use of the __restrict__ keyword.

__restrict__ keyword means that we give the compiler a guarantee that we won't go behind it's back,...
Forum: Main CFD Forum May 16, 2021, 09:29
Replies: 11
Views: 881
Posted By aerosayan
Thank you for your help and effort. You're...

Thank you for your help and effort. You're correct in saying that we're iterating over cell faces. I wanted to say I was iterating over cells, and I was iterating over all faces of each cell.



...
Forum: Main CFD Forum May 16, 2021, 00:55
Replies: 11
Views: 881
Posted By aerosayan
How can we optimize the flux calculations in explicit CFD solvers?

How can we optimize the flux calculations in explicit CFD solvers?

They seem to take the majority of the computational time, and there are so many if-else branches in the code, the branch misses...
Showing results 1 to 7 of 7

 
Forum Jump

All times are GMT -4. The time now is 23:57.