|
[Sponsors] |
February 21, 2019, 07:09 |
Defining Source Term at a Node
|
#1 |
New Member
Ghadeer
Join Date: Feb 2019
Posts: 5
Rep Power: 7 |
Greetings all
I want to implement a source term (electric force) to a group of nodes in a region. When I looked at the UDF manual, all the examples are based on applying forces to group of cells. So is it possible to loop over the nodes of a specified region? |
|
February 25, 2019, 00:35 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
it is possible to loop over nodes
Code:
c_node_loop //nodes in cells f_node_loop //nodes in face So you should think about, how you will apply calculated forces best regards |
|
February 25, 2019, 03:16 |
|
#3 |
New Member
Ghadeer
Join Date: Feb 2019
Posts: 5
Rep Power: 7 |
Alright. Thanks for your response!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam for OpenFOAM 4.0 | mnikku | OpenFOAM Community Contributions | 80 | May 17, 2022 09:06 |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 19:13 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error | FerdiFuchs | OpenFOAM Community Contributions | 27 | April 16, 2014 16:14 |
[swak4Foam] swak4Foam-groovyBC build problem | zxj160 | OpenFOAM Community Contributions | 18 | July 30, 2013 14:14 |