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 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: fredo490
Forum: OpenFOAM Programming & Development April 18, 2013, 11:16
Replies: 17
Views: 3,978
Posted By fredo490
Is it a structured of unstructured mesh ? I...

Is it a structured of unstructured mesh ?
I know there is a command to find the closest cell center from a given point but the algorithm you have to build is a bit complicated. If it is a structured...
Forum: OpenFOAM Programming & Development April 17, 2013, 13:27
Replies: 17
Views: 3,978
Posted By fredo490
Did you try to play with the interpolation scheme...

Did you try to play with the interpolation scheme of the sampling functions ? Some are more accurate than others.

Also, can you give more details about your case ? Maybe a picture of the mesh ? It...
Forum: OpenFOAM Programming & Development April 17, 2013, 07:37
Replies: 17
Views: 3,978
Posted By fredo490
Oh ok, then my code only works if you build the...

Oh ok, then my code only works if you build the mesh with an interface.

Do you need your treatment in the solver ? Or do you simply need the value at the end of each iteration ?

In the second...
Forum: OpenFOAM Programming & Development April 16, 2013, 22:57
Replies: 17
Views: 3,978
Posted By fredo490
It is quite easy: - identify your patch -...

It is quite easy:
- identify your patch
- loop over all the faces of your patch
- make your calculation

Your code can look like this:

label patchWall =...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 13:06.